Posts: 737
Threads: 338
Joined: Jan 2013
Hi,
Can i use mysql_real_escape_string, and is it will escape string, when i use it in Mysql BlueG R35 threaded plugin?
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
You should only escape strings when you input/pass as an argument a string to a query to avoid from being victim of SQL Injection. However, I recommend you to use mysql_format instead which does pretty much the same but it's more convinient than using mysql_real_escape_string all the time.
Posts: 737
Threads: 338
Joined: Jan 2013
Thanks so much. And i want to ask what is difference between threaded and non-threaded queries?