23.05.2015, 17:42
It's possible to send two queries in one SQL statement, right?
Using mysql_format().
I'm getting this error:
pawn Код:
UPDATE `players` SET `Name` = '%e' WHERE `PlayerID` = '%i'; DELETE FROM `players` WHERE `PlayerID` = '%i'
I'm getting this error:
Quote:
[18:44:45] [ERROR] CMySQLQuery::Execute[QR_OnChangeNameSuccess] - (error #1064) 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 'DELETE FROM `players` WHERE `PlayerID` = '47'' at line 1 |