PHP Protect query from mysql Injection.

VaxZer

New Member
How can I add mysql_real_escape_string() to this:::\[code\]$result = mysql_send("INSERT customers SET user='$username', pword='$pass1', firstname='$firstname', lastname='$lastname', email='$email', active='No', activecode='$activecode', dateofbirth='$dateofbirth', gender='$gender', title='$title', occupation='$occupation', address='$address', city='$city', country='$country', zip='$zip', mobile='$mobile', telephone='$telephone', fax='$fax', website='$website' ");\[/code\]
 
Back
Top