Question: Question 26 2 pts Below is the PHP function to sanitize incoming values from web pages. Write a simple example (one parameter will suffice) in
Question 26 2 pts
Below is the PHP function to sanitize incoming values from web pages. Write a simple example (one parameter will suffice) in the if(isset(x)) code to use this function.
function mysql_fix_string($conn, $string){
if(get_magic_quotes_gpc())
$string = stripslashes($string);
}
return $conn->real_escape_string($string);
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
