R1der Posted October 16, 2006 Share Posted October 16, 2006 Ok so i setup a cron to run every 24hrs but this update statement dont seem to be working. is there a problem i have failed to spot in it?[code]$db->query("UPDATE users SET uClicksToday = uClicksToday '0' WHERE uType=1");[/code]Thanks in advance ;D Quote Link to comment Share on other sites More sharing options...
.josh Posted October 16, 2006 Share Posted October 16, 2006 what is this supposed to be?[b]uClicksToday '0' [/b]are you meaning to do this?[b]$db->query("UPDATE users SET uClicksToday = '0' WHERE uType=1");[/b] Quote Link to comment Share on other sites More sharing options...
R1der Posted October 16, 2006 Author Share Posted October 16, 2006 erm yea thats it :D lolThx that worked :P 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.