SA-MP Forums Archive
Mysql - 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 (/showthread.php?tid=601419)



Mysql - CSCripMa - 21.02.2016

Hi,

I want to update string i just need to escape him before updating or something more i mean don't get syntax errors and ofcourse that sql injection. Second can i do a lot of escapes when i save everything? because i have a lot of text to safe and i need to escape them in one time


Re: Mysql - CSCripMa - 21.02.2016

UP THREAD


Re: Mysql - Vince - 21.02.2016

Use mysql_format with %e specifier.