The follwing article I found is about what every PHP programmer should know, but unfortunately, the opposite is what i see among the most PHP programmers. They just freak around with the escaping of quotes and slashes. It sometimes results in a database with too many slashes and may be get noticed after a few years… For once and for all, the real facts about magic_quotes_gpc, addslashes() and stripslashes(). May it be clear for ever: http://www.webmasterstop.com/63.html.