$expires_on = "04/02/2004";
If ( date("d/m/Y") == $expires_on ) {
$sql = "UPDATE tbl_seekers SET payment_ok='0' WHERE user_id=$user_id";
$result = mysql_query( $sql ) or die ( 'Unable to execute query.' );
$expires_on = "<font color='red'><b>$expires_on</font> - RENEW TODAY!</b>";
$renew = "1";
}
heres my code. i cant seem to compare the 2 dates correctly. if the expire date has passed or is today, i want the if statement to execute. how do i do it?
i've tried > but that dont work