MySQL Error
#1

C:\Users\samp\Desktop\Catalyst Roleplay\gamemodes\TGRP.pwn(8994) : error 035: argument type mismatch (argument 1)

PHP код:
new query[128], queryTwo[128], tmpVal;
        
format(querysizeof(query), "SELECT * FROM `crimes` WHERE `player`='%s' AND `arrested`='0'"pNameEx(playerid));
mysql_query(query);
mysql_store_result();
mysql_fetch_field_row(tmpVal"id");
format(queryTwosizeof(queryTwo), "UPDATE `crimes` SET `arrested`='1' WHERE `player`='%s' AND `id`='%d'"pNameEx(playerid), tmpVal);
mysql_query(queryTwo); 
The error is in this line:
PHP код:
mysql_fetch_field_row(tmpVal"id"); 
I'm not sure why I'm getting this error because I've done it before like this but instead of this way I did it in a while loop.
Reply


Messages In This Thread
MySQL Error - by mrtms - 25.02.2013, 00:29
Re: MySQL Error - by Pets - 25.02.2013, 00:35

Forum Jump:


Users browsing this thread: 1 Guest(s)