Hey all, here's my switch statement.
switch($mss_month){
case 01:
$month_text = "JANUARY";
break;
case 02:
$month_text = "FEBRUARY";
break;
case 03:
$month_text = "MARCH";
break;
case 04:
$month_text = "APRIL";
break;
case 05:
$month_text = "MAY";
break;
case 06:
$month_text = "JUNE";
break;
case 07:
$month_text = "JULY";
break;
case 08:
$month_text = "AUGUST";
break;
case 09:
$month_text = "SEPTEMBER";
break;
case 10:
$month_text = "OCTOBER";
break;
case 11:
$month_text = "NOVEMBER";
break;
case 12:
$month_text = "DECEMBER";
break;
}
My problem is when I go to echo $month_text on my page the cases for 08 and 09 do not echo the value of $month_text. All the other months work fine. Can anyone see an obvious problems? I've tried re-writing the entire statement twice with the same result.
Thanks,
Ryan