mysql_function_query - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: mysql_function_query (
/showthread.php?tid=354016)
mysql_function_query -
park4bmx - 25.06.2012
i use to work with MqSql but now the
mysql_query is change to
mysql_function_query
and ahving some problems
code
pawn Code:
new connectionHandle[100];
mysql_function_query(connectionHandle, "CREATE TABLE IF NOT EXISTS playerdata(user VARCHAR(24), score INT(20), money INT(20), IP VARCHAR(16) , TOS VARCHAR(16) )", false, "OnQueryFinish");
i dont want to set any information i just want to creat them for now so i get
Code:
error 035: argument type mismatch (argument 1)
which means im missing the formats which i dont want :X
Re: mysql_function_query -
Vince - 25.06.2012
ConnectionHandle is simply the number returned by mysql_connect.
Re: mysql_function_query -
park4bmx - 25.06.2012
ohh ok that make sense so
pawn Code:
new connectionHandle = mysql_connect(/*info".............."*/);
mysql_function_query(connectionHandle,//so on
gona try it out tnx