How to escape string
#3

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

Quote:

Format strings

%e Escapes data directly without the need to call mysql_escape_string() before.

Reply


Messages In This Thread
How to escape string - by Nin9r - 16.06.2016, 09:49
Re: How to escape string - by Sime30 - 16.06.2016, 09:56
Re: How to escape string - by Sjn - 16.06.2016, 09:57
Re: How to escape string - by Nin9r - 16.06.2016, 10:00
Re: How to escape string - by Sjn - 16.06.2016, 10:02
Re: How to escape string - by Nin9r - 16.06.2016, 10:05
Re: How to escape string - by Sjn - 16.06.2016, 10:10
Re: How to escape string - by Nin9r - 16.06.2016, 10:12
Re: How to escape string - by Sjn - 16.06.2016, 10:19
Re: How to escape string - by Nin9r - 16.06.2016, 10:24
Re: How to escape string - by Stinged - 16.06.2016, 10:46
Re: How to escape string - by Nin9r - 16.06.2016, 11:16
Re: How to escape string - by Stinged - 16.06.2016, 11:32

Forum Jump:


Users browsing this thread: 2 Guest(s)