16.06.2016, 09:57
It looks like you are using mysql R33 and above. If so, you don't need to use that function, just use %e specifier for strings in the query format.
https://sampwiki.blast.hk/wiki/MySQL/R33...t_specifiers_2
https://sampwiki.blast.hk/wiki/MySQL/R33...t_specifiers_2
Quote:
Format strings %e Escapes data directly without the need to call mysql_escape_string() before. |