I have played with this IF clause for an hour and can't figure it out.
<?
$todaysdate = 'CURDATE() + 0';
if ( $main_match_rs->Fields("match_date") > $todaysdate ) {
?>
this is where the if HTML goes
<?
}
else {
?>
this is where the else HTML goes
<?
}
?>
No matter what I do it only shows the else clause as is. If I change the > around to a < it only shows the if clause.