Hi,
Me again...
Just wanted to know, i have this piece of code to enter the data from a registration form of mine into the user db.
I want to use the mysql_real_escape_string to help stop those evil people who enjoys hacking from hacking my DB
$query = "INSERT INTO userinformation (username, first_name, last_name, email, password, date_time) VALUES ('$username', '$first_name', '$last_name', '$email', '$password', '$date_time')";
could someone tell me where i need to put the mysql_real_escape_string function to stop it happening, i am not sure where i place it by or how i code it,
thank you,
genieuk