Jump to content
MakeWebGames

Recommended Posts

Posted

I have a small error on my streets, jail time.

When someone should go to jail they do not.

I get this :

QUERY ERROR: Unknown column 'jailtime' in 'field list'

Query was UPDATE `users` SET `jailtime` = `jail_time` + '', `jailreason` = 'Pulled up by a Policeman' WHERE `userid` = '1'

I know this means there is no jailtime in my database.

But I am confused at to where it should be.

I never deleted anything that I know of.

Posted

Re: Streets Error

 

$db->query("UPDATE `users` SET `jail_time` = `jail_time` + timer here. `jailreason` = 'Pulled up by a Policeman' WHERE `userid` = '1'");

 

You had:

jailtime = jail_time + blah

:)

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.

×
×
  • Create New...