02-03-2009, 09:07 PM
|
#5 (permalink)
|
|
The Contributor
Join Date: Nov 2007
Location: Nashville, TN
Posts: 66
Thanks: 20
|
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.
|
|
|
|