Jump to content
MakeWebGames

HELPP !


Jameoo
 Share

Recommended Posts

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 ??

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...