Two queries with one mysql_query call?
#1

I tried using BlueG plugins R6 and R33.

Both plugins show an error while the same query executes just fine in pMA. What is up with that? The fact that it works in phpMyAdmin tells me that the query syntax is fine.


I tried a simple query:
Код:
SELECT * FROM players; INSERT INTO players(name)VALUES('hi')
R33 error:
pawn Код:
[ERROR] CMySQLQuery::Execute[] - (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 'INSERT INTO players(name)VALUES('hi')' at line 1
R6 error:
pawn Код:
CMySQLHandler::Query(SELECT * FROM players INSERT INTO players(name)VALUES('hi');) - An error has occured. (Error ID: 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 'INSERT INTO players(name)VALUES('hi')' at line 1)
Reply


Messages In This Thread
Two queries with one mysql_query call? - by dusk - 10.03.2015, 13:07
Re: Two queries with one mysql_query call? - by Isolated - 10.03.2015, 14:44
Re: Two queries with one mysql_query call? - by Vince - 10.03.2015, 15:02
Re: Two queries with one mysql_query call? - by dusk - 10.03.2015, 15:14
Re: Two queries with one mysql_query call? - by PowerPC603 - 10.03.2015, 15:43
Re: Two queries with one mysql_query call? - by dusk - 10.03.2015, 16:13

Forum Jump:


Users browsing this thread: 1 Guest(s)