Can someone show me why this switch
statement doesn t output the same as the if
statement?
And more important, how do I get them to output the same?
<>Switch
switch ($list_day) {
case $today :
$calender .= <td class="today"> ;
default :
$calender .= <td> ;
}
<>If
if ($list_day == $today) {
$calendar.= <td class="today"> ;
} else {
$calendar.= <td> ;
}