$formatdate = explode("-", $match->date);
$month = $formatdate[1];
$year = $formatdate[0];
$day = $formatdate[2];
if ($month != $prev_month) {
echo "<tr><th colspan=7 align=center>";
echo date("M-d-Y", mktime(0, 0, 0, $day, $month, $year));
[B]echo $month." ".$year;[/B]
echo "</th></tr>\n";
} // end if
I would like to display the month as the month name and year, for example "March 2007", it currently appears as "03 2007", I have tried various functions and I am getting nowhere with it, I have tried strtotime, mktime, date but all seem to return errors. Please can you help?