Vyp3r2oo9 Posted January 31, 2008 Share Posted January 31, 2008 While swimming around you find $$$cashhhQUERY 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 'WHERE userid=110' at line 1 Query was UPDATE users SET money=money+ WHERE userid=110 This is a bug that was reported to me by a member of my game.. I have restored scuba.php to the earliest backup I have and it still doesnt fix it - So I was thinking it maybe in MySQL tables -- Which I've never really been good at so any help would be greatly appreciated! Quote Link to comment Share on other sites More sharing options...
UCC Posted January 31, 2008 Share Posted January 31, 2008 Re: Strange error in scuba.php I doubt it has anything to do with your database. The fact is you are trying to add null which you cannot do. You'll have to add a variable that contains actual data rather than a variable that appears to not exist. In addition I see you are trying to output $$$cashhh which looks wrong on several accounts. Sepending on what the variable name actually is, you might tro ${$cashhh} You can use a slash before the $ but I can never remember if thats / \ as I do not use that currency Quote Link to comment Share on other sites More sharing options...
Haunted Dawg Posted February 1, 2008 Share Posted February 1, 2008 Re: Strange error in scuba.php well hey...maybe post the code and i can help 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.