I have looked at this code for the last 30 minutes... Any help would be greatly appreciated.
Code:
$connection = mysql_connect("localhost","root","") or die("Could not connect to DB");
mysql_select_db("abraham",$connection);
$select = "SELECT id FROM users WHERE username='$username'";
$result1 = mysql_query($select,$connection) or die("Could not execute query!");
$num = mysql_num_rows($result1) or die("Could not count rows!");
It keeps on spitting out the die part of the mysql_num_rows function.

Thanks,