I still get the same thing
$connection = mysql_connect("localhost", "john", "camaro");
$db = mysql_select_db("instant", $connection);
$sql = "select * from users where username like '$username' ";
$result = mysql_query($sql,$connection);
$num = mysql_numrows($result);
echo "$num";
Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource
the other question I have it the row types are set as text in my database might they have to be varchar or something
John