KyleMassacre Posted February 6, 2012 Share Posted February 6, 2012 when you try to mug a person you get this error: 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 'warDECLARED=' at line 1 Query was DELETE FROM gangwars WHERE warDECLARER=,warDECLARED= and here is the line of code it is talking about: $db->query("DELETE FROM gangwars WHERE warDECLARER={$ga['gangID']} or warDECLARED={$ga['gangID']}"); can someone please help? Quote Link to comment Share on other sites More sharing options...
Djkanna Posted February 6, 2012 Share Posted February 6, 2012 $ga['gangID'] doesn't exist. Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted February 6, 2012 Author Share Posted February 6, 2012 Ughhh I see it now, stupid paid mods. So much for so called "support". Its needs: db->query("DELETE FROM gangwars WHERE warDECLARER={$ir['gangID']} or warDECLARED={$r['gangID']}"); Right? Quote Link to comment Share on other sites More sharing options...
Djkanna Posted February 6, 2012 Share Posted February 6, 2012 I really couldn't tell you without seeing a little more code. Perhaps you could PM the file, seeing as you're not getting support, and I have no use for it? 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.