Thread: Sql and php
View Single Post
Old 11-29-2009, 11:14 PM   #10 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,706
sde is on a distinguished road
PHP Code:
$username mysql_real_escape_string($_POST['username']); 
then pass $username instead of $_POST['username'] in the query.
__________________
Mike
sde is online now   Reply With Quote