12-25-2008, 10:02 AM
|
#4 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
|
Plus, that way you have the advantage of parameter binding, which offers you (also automatically) query caching. But, if you want to do that by hand, you'd want to run the data through addslashes and not stripslashes (although that is also done for you by the mysql_real_escape_string as far as I'm aware).
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
|
|
|
|