Jameoo Posted August 27, 2008 Posted August 27, 2008 Hi I Keep On Getting Errors In Cron Day When I Put This $htq=$db->query("SELECT hWILL, tax, taxJAIL from houses")or die($db->error()); while ($ht=$db->fetch_row($htq)) { $db->query("UPDATE users SET jail = jail + {$ht['taxJAIL']}, jail_reason = 'Failure to Pay Taxes' WHERE bankmoney < {$ht['tax']} AND maxwill = {$ht['hWILL']} AND jail > 1")or die($db->error()); $db->query("UPDATE users SET jail = jail + {$ht['taxJAIL']}, jail_reason = 'Failure to Pay Taxes' WHERE bankmoney < {$ht['tax']} AND maxwill = {$ht['hWILL']} AND jail < 1")or die($db->error()); Can Any One Help ?? Quote
Guest Anonymous Posted August 27, 2008 Posted August 27, 2008 Re: HELPP ! Add } at the end of the last line. Quote
Zero-Affect Posted August 27, 2008 Posted August 27, 2008 Re: HELPP ! yeah that's a common error Quote
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.