View Single Post
Old 02-03-2009, 09:07 PM   #5 (permalink)
nefus
The Contributor
 
nefus's Avatar
 
Join Date: Nov 2007
Location: Nashville, TN
Posts: 66
Thanks: 20
nefus is on a distinguished road
Default

Well, I found the problem.

It should be:
$username = mysqli_real_escape_string($link, $username);

Not:
$username = mysql_real_escape_string($username, $link);

The first statements were mysqli so that was a mistake on my part. The odd thing is that $link comes first with mysqli and second with mysql.

Last edited by nefus : 02-03-2009 at 09:32 PM.
nefus is offline  
Reply With Quote