MySQL syntax
#2

, should be AND

i.e

Code:
DELETE from foo where something = 'das' AND owner = 1 AND password = 'afs'
==

pawn Code:
format(szQuery, sizeof(szQuery), "DELETE FROM `Houses` WHERE `CoX` = %f AND `CoY` = %f AND `CoZ` = %f", hInfo[i][CoX], hInfo[i][CoY], hInfo[i][CoZ]);
Reply


Messages In This Thread
MySQL syntax - by BigGroter - 01.07.2013, 19:17
Re: MySQL syntax - by Kirollos - 01.07.2013, 19:34

Forum Jump:


Users browsing this thread: 1 Guest(s)