In Php Will Htmlspecialchars() Protect My Mysql Database From Sql Injection?

Author: admin  //  Category: SQl Injection

Or do I need to use addslashes() as well, or maybe another function all together?

Tags: , , , , , ,

One Response to “In Php Will Htmlspecialchars() Protect My Mysql Database From Sql Injection?”

  1. Anonymous Says:

    no. you need to use mysql_escape_string() instead.

Leave a Reply