hello,
I have read many about SQL-Injection". But it does not work with this code:
$inputform= $_GET["password"];
$query = "INSERT INTO user(password) VALUES ('".mysql_real_escape_string($inputform)."')";
For example I use this example: O'Conner
. When I submit it and look in my table there is O'Connor
and not O\'Conner
.
thanks