29
May
In Php Will Htmlspecialchars() Protect My Mysql Database From Sql Injection?
Author: admin // Category: SQl InjectionOr do I need to use addslashes() as well, or maybe another function all together?
Tags: Database, From, Htmlspecialchars, Injection, Mysql, Protect, Will
May 29th, 2009 at 3:33 pm
no. you need to use mysql_escape_string() instead.