SA-MP Forums Archive
mysql_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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: mysql_escape_string (/showthread.php?tid=66194)



mysql_escape_string - MenaceX^ - 20.02.2009

How should I use this function?
For example one of my commands sends a text to SQL, If the player sends a text with ' or ` and such, It results a sql injection, I want to block these injections by using
mysql_escape_string.
Does anyone know how to use this f unction?