My code is the following:
$connect = mysql_connect("localhost","testguy","test");
$snamecheck = mysql_query("SELECT * FROM aol_v2 WHERE sname=$sname2");
echo "$snamecheck";
But when I run this, it returns absolutly nothing. What is wrong? And yes, the values exists in the database.
$connect = mysql_connect("localhost","testguy","test");
$snamecheck = mysql_query("SELECT * FROM aol_v2 WHERE sname=$sname2");
echo "$snamecheck";
But when I run this, it returns absolutly nothing. What is wrong? And yes, the values exists in the database.