I need a cron to set values of one row of a table to 0. Here's what I'm trying to use right now:
I'm trying to get the cron to clear out the IP values so that my guests at http://www.americanmotorcycleclub.co...t.php?cat_id=1 can vote once per day with me having to manually set the all of the values in the table row to 0.
$phpbb_root_path = '/home/america1/public_html/forum/';
include_once($phpbb_root_path . 'config.php');
$sql = 'Update phpbb_album_rate SET rate_user_ip=0';
Any help please?