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()); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.