Argument mismatch problem
#1

I have a problem, i get this error yq10571.pwn(2395) : error 035: argument type mismatch (argument 1)

Line 2395 is mysql_query(SQL ,var);

and all the content is

public HUpdate(hid, type)
{
new var[256];
switch(type)
{
case hExitxx:
{
format(var, sizeof(var), "UPDATE `houses` SET `Exitx`='%f' WHERE `ID`='%d'",HouseInfo[hid][hExitx], hid);
mysql_query(SQL ,var);
}


help me with this error pls !!!
Reply
#2

I don't know which line (2395) is but I assume it is the
PHP код:
case hExitxx
Change it to
PHP код:
case 0
And again, I am not quite sure if that is the problem, just an assuming.
Reply
#3

mysql_query(var);
Reply
#4

Quote:
Originally Posted by saffierr
Посмотреть сообщение
I don't know which line (2395) is but I assume it is the
PHP код:
case hExitxx
Change it to
PHP код:
case 0
And again, I am not quite sure if that is the problem, just an assuming.
Line 2395 is mysql_query(SQL ,var)
Reply
#5

Problem is the same.

http://www42.zippyshare.com/v/mLZ3cdLB/file.html this is the pwn, please someone fix the problems.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)