Quote:
Originally Posted by CrazY.
Give us informations about this compiling error that you're getting.
|
Thanks for answer CrazY!
Compiling dont giving any error after update:
PHP Code:
public UpdateGameLIVE(id)
{
new szQuery[3800];
new match_id = SQL_GetInsertId( g_hTuple );
formatex( szQuery, 3799, "UPDATE `matches` SET `left_score` = '%d', `right_score` = '%d' WHERE match_id = '%d';", scoreCTS, scoreTS, match_id);
SQL_ThreadQuery( g_hTuple, "QuerySetData", szQuery);
}
But now i'm getting error in server:
PHP Code:
[MySQL] Invalid query handle: 4
PHP Code:
[AMXX] Run time error 10: native error (native "SQL_GetInsertId")