SA-MP Forums Archive
MySQL can't escape string - 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: MySQL can't escape string (/showthread.php?tid=632267)



MySQL can't escape string - AndreiWow - 11.04.2017

PHP код:
[20:08:01] [ERRORmysql_formatcan't escape string '[LSB]NameExample[TS]
Any idea why?


Re: MySQL can't escape string - Logic_ - 11.04.2017

Code?


Re: MySQL can't escape string - AndreiWow - 11.04.2017

mysql_format(Database, DB_Query, sizeof(DB_Query), "SELECT * FROM `PLAYERS` WHERE `USERNAME` = '%e' LIMIT 1", pInfo[playerid][Name]);



And this


(libmysqlclient.so.18: cannot open shared object file: No such file or directory)