Jump to content
MakeWebGames

Recommended Posts

Posted

ok. i have two problems.

1. While playing the game it sometimes logs you off for no reason. I don't know why my game does this but it does. to me and the users.

2. One of my crimes sometimes says this whenever it's done . QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's' WHERE `userid` = '3'' at line 1

Query was UPDATE `users` SET `jail` = '30', `jail_reason` = 'Selling Pirated Cd's' WHERE `userid` = '3'

but the user ID is whoever did the crime

Posted

Re: two priblems i REALLY need help with

what is a priblems ?? lol

oh and the problem is the ' in the reason. I would bet on that.

thats where reading up on

mysql_real_escap_string and stripslashes comes in very hand.

-------------------------------------

EDIT: if you don't want to learn that. Go through and edit your crimes. and Remove all the ' and " in the reasons.

Posted

Re: two priblems i REALLY need help with

thank you.

Do you know whay it's randomly logging off??

and also how do i change my backround from white to another color?

Posted

Re: two priblems i REALLY need help with

also. in the section that says your stats and notepad etc. (taht section of the screen not that page) How do i change the color of THAT

Posted

Re: two priblems i REALLY need help with

For the crime thing you could change it to Blah blah blah\'s. i think or is it / i cant remember xD

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