Tag Mismatch - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Tag Mismatch (
/showthread.php?tid=587370)
Tag Mismatch -
nezo2001 - 30.08.2015
PHP код:
Cache:result = format(Query, sizeof(Query), "SELECT `pMoney` FROM `users` WHERE pName='%s'", CarInfo[i][owner]);
.
Re: Tag Mismatch -
Roberto80 - 30.08.2015
I don't know about SQL,but as i saw,try to change pName= to `pName` =
Re: Tag Mismatch -
Sjn - 30.08.2015
Cached variables are not made to use for format. Its used for executing the query (as far as i know). You need to do something like this instead;
PHP код:
new
Cache:result;
mysql_format(handle, Query, sizeof(Query), "SELECT `pMoney` FROM `users` WHERE pName='%s'", CarInfo[i][owner]);
result = mysql_query(handle, Query, true);