Menu
i have this code below that deletes rows that are out of date, but it keeps on deleting everything even if its not out of date.
[code=php]
$expiry = $ow[‘endtime’];
$now = time();
mysql_query(“DELETE FROM buildup WHERE $expiry<$now”);
is the above valid and writen correctly.
becouse it deletes everything WHERE $expiry<$now musnt be working ?