How to Prevent SQL Injection in PHP

SQL injection is most common vulnerabilities in web based application , you can user
mysql_real_escape_string to prevent sql injection


mysql_real_escape_string function remove all unwanted character from user string that may cause
sql injection

Prepared Statements in MySQLi with connection

Leave a Reply

Your email address will not be published. Required fields are marked *