Jump to content

Archived

This topic is now archived and is closed to further replies.

R1der

[solved] Is there a problem here?

Recommended Posts

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

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.