23.05.2015, 17:48
Try using
In between the two queries. So it would be
Source: http://stackoverflow.com/questions/7...eries-into-one
@Konstantinos - Ooh yeah, My bad
pawn Код:
UNION
pawn Код:
UPDATE `players` SET `Name` = '%e' WHERE `PlayerID` = %i UNION DELETE FROM `players` WHERE `PlayerID` = '%i'
@Konstantinos - Ooh yeah, My bad
Quote:
The column names from the first SELECT statement are used as the column names for the results returned. |