What is the best method for sanitizing user input with PHP?
Answer
Correct Answer: Whenever you embed a string within foreign code, you must escape it, according to the rules of that language. E.g. for MySQL, you will use mysql_real_escape_string, for HTML you will escape it with htmlspecialchars.
Explanation:
Note: This Question is unanswered, help us to find answer for this one