Hi,
I'm trying to select everything in a database where the end of an auction (datetime stored in a dateabase) is between now and the next 5 minutes but I cant seem to get the right syntax. Can anyone help?
$item = mysql_query("SELECT id, item FROM item WHERE auction_end BETWEEN now() AND (now(), INTERVAL 5 MINUTE)", $mysql_access);
Thanks,
Asa.