Im using smarty both mysql_real_escape_string()for user input, and when I paste the code with 'or ", as well as searching in phpmyadmin it shows no backslash.
When I get a record from the database, I also have no backslashes. But when I just pass the escaped string without pasting in db it is inverse.
You should not add slashes, paste with them, and then I strip them when I output? Or am I missing something?
Chris source
share