mysql_real_escape_string on all mySQL queries?
Posted
by confusedphpnoob
on Stack Overflow
See other posts from Stack Overflow
or by confusedphpnoob
Published on 2010-04-19T23:00:51Z
Indexed on
2010/04/19
23:03 UTC
Read the original article
Hit count: 204
Is mysql_real_escape_string supposed to replace both addslashes() and stripslashes()??
ie.. do I use it to encode form input variables on MySQL inserts as well as use it in place of stripslashes on MySQL select statements?
Sincerely, Confused PHP noob
© Stack Overflow or respective owner