mysql_query
#1

Hey i am making my register and login system with my_sql and i got this error
pawn Код:
C:\Users\matRixgameR\Desktop\Pawno\gamemodes\HardRolePlay.pwn(81) : error 035: argument type mismatch (argument 1)
Line 81:
pawn Код:
mysql_query(query);
I have newed query[300];
Reply
#2

If you use R33+, then the parameters are:
pawn Код:
mysql_query(conhandle, query[], bool:use_cache = true)
which means the first parameter is integer and not an array (string).

Open a_mysql.inc and search for mysql_query line and check the parameters.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)