Hi
If I do addslashes() on a string before inserting it into my db, is it the same as doing mysql_escape_string() before insertion?
And if I have magic_quotes_gpc set in the php-config file, do I have to do addslashes/ mysql_escape_string() and stripslashes when interacting with the db?
Regards tores
addslashes vs mysql_escape_string
Moderator: General Moderators