Jameoo Posted August 27, 2008 Share 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 Link to comment Share on other sites More sharing options...
Guest Anonymous Posted August 27, 2008 Share Posted August 27, 2008 Re: HELPP ! Add } at the end of the last line. Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted August 27, 2008 Share Posted August 27, 2008 Re: HELPP ! yeah that's a common error Quote Link to comment Share on other sites More sharing options...
Jameoo Posted August 28, 2008 Author Share Posted August 28, 2008 Re: HELPP ! Thanks Ze0n 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.