Cronwerks MCCode/MCCodes Forums

Please login or register.

Login with username, password and session length

News:

After purchasing with us the download link will be delivered to your forum message box.


This forum is now closed and has moved to a new location! Click here to find out why.

AuthorTopic: query error  (Read 268 times)

xTRUTECHNIQUEx

  • Basic Member
  • *
  • Reputation Power: 13
  • xTRUTECHNIQUEx has no influence.
  • Offline Offline
  • Posts: 4
    • View Profile
    • Email
query error
« on: September 12, 2010, 05:42:05 PM »
only get this when i try to hospitalize a player. i got a gang peace mod which obviously has something to do with it. i just cant get this figured out.

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=0, `gPeace` < 1, warDECLARED=2, warDECLARER=0, `gPeace` < 1' at line 1
Query was SELECT * FROM gangwars WHERE warDECLARER=2, warDECLARED=0, `gPeace` < 1, warDECLARED=2, warDECLARER=0, `gPeace` < 1
Logged

Danny696

  • Senior Member
  • ****
  • Reputation Power: 317
  • Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.
  • Offline Offline
  • Posts: 540
    • View Profile
    • WWW
Re: query error
« Reply #1 on: September 13, 2010, 10:51:51 AM »
in there where clause, replace the ',' with 'AND'
Logged
Project Choosen - 10%
Daniel - Hanson . Com
 


This forum is now closed and has moved to a new location! Click here to find out why.