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 Link to comment https://forums.phpfreaks.com/topic/24106-solved-is-there-a-problem-here/ 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] Link to comment https://forums.phpfreaks.com/topic/24106-solved-is-there-a-problem-here/#findComment-109573 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 Link to comment https://forums.phpfreaks.com/topic/24106-solved-is-there-a-problem-here/#findComment-109575 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.