SA-MP Forums Archive
error 001: expected token: ",", but found ";" - 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: error 001: expected token: ",", but found ";" (/showthread.php?tid=604838)



error 001: expected token: ",", but found ";" - Avino - 10.04.2016

closed please.


Respuesta: error 001: expected token: ",", but found ";" - Xabi - 10.04.2016

You only have to use mysql_escape_string() for users' inputs, and you have to call that function once per variable. Also, you're finishing the query string with a , which has no sense.