I'm wondering about the implications of using addslashes and mysql_real_escape_string together?
Currently mysql_real_escape_string alone will remove slahes. However after encompassing mysql_real_escape_string with addslashes if I post ten backslashes instead of only getting five I get the full ten I posted which is the desired effect.
However I'm looking in to see what others think minus any heated debates. If encompassing one inside the other is there a proper nesting of these methods?
- John