1. Can any of you tell me with an example, what is the difference between mysql_escape_string() and addslashes()?
2. Which should I use mysql_escape_string() or mysql_real_escape_string()? Are there any particular contexts in which they have to applied accordingly?
mysql_escape_string() vs addslashes()
Moderator: General Moderators
- raghavan20
- DevNet Resident
- Posts: 1451
- Joined: Sat Jun 11, 2005 6:57 am
- Location: London, UK
- Contact: