Question: Suppose that a malicious user tries to execute an SQL injection attack by entering administrator'# as the username in a web login form (assuming that
Suppose that a malicious user tries to execute an SQL injection attack by entering administrator'# as the username in a web login form (assuming that administrator is a valid username).
Explain how the $mysqli->real_escape_string() function can prevent this SQL injection attack. What characters in the string would be escaped?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
