What's wrong with this (mysql)?
#1

pawn Код:
format(query,sizeof(query),"UPDATE `PlayerDealership` SET `Owner` = '%s' WHERE `Owner` = '%s'",name,Nam);
mysql_query(query);
When i use it on my phpmyadmin it works probably. But on the server i get this from debug

Код:
[05:20:22] CMySQLHandler::Query(UPDATE `PlayerDealership` SET `Owner` = 'Yoloswag' WHERE `Owner` = 'Tan') - An error has occured. (Error ID: 2014, Commands out of sync; you can't run this command now)
[05:20:22] >> mysql_query( Connection handle: 1 )
Reply


Messages In This Thread
What's wrong with this (mysql)? - by Tanush123 - 04.06.2013, 11:06
Re: What's wrong with this (mysql)? - by NvidiaForTheWin - 04.06.2013, 11:17

Forum Jump:


Users browsing this thread: 1 Guest(s)