Zepo. Posted December 2, 2007 Share Posted December 2, 2007 I never used inequalities in a mysql query before so idk why this isnt working... Gives the error Blah...right syntax to use near '' at line 1 $timeoutseconds = 300; $timestamp = time(); $timeout = $timestamp-$timeoutseconds; mysql_query("DELETE FROM teamsonline WHERE timestamp<$timeout") or die(mysql_error()); Link to comment https://forums.phpfreaks.com/topic/79784-solved-really-easy-mysql-question/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.