Question: The figure below shows the vulnerable PHP code for SQL injection attack, identify and explain shortly the vulnerable code and how to prevent the attack
The figure below shows the vulnerable PHP code for SQL injection attack, identify and explain shortly the vulnerable code and how to prevent the attack to happen.

111 $name = $_REQUEST['name']; $query = "SELECT * FROM suppliers WHERE name $result = mysql_query($query); $name
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
