How to fix date variable? date variable in the if statment not working. How to fix date variable to show Tie - if game day = current date and the score is 0-0
<?php
$hs = $row_rsFootball['homeScore'];
$os = $row_rsFootball['oppenentScore'];
$gd = $row_rsFootball['gameDate'];
$cd = date("Y-M-D");
if ($hs > $os AND $gd <= $cd) {
print "<font color='blue'>winning</font>\n";
} else if ($hs < $os) {
print "<font color='red'>loosing</font>\n";
} else if ($hs == $os AND $gd == $cd) {
print "Tie\n";
} // end if
?>