I'm running this query on a mysql database (I can run it from phpmysql, and it works, and returns exactly what it should)
$id = mysql_query("SELECT userid FROM user where username='eric'");
print "id is: $id<br>";
for some reason -- it prints out Resource id #4 on the screen, If I loop through several, the number keeps going up ...
What am I doing wrong!!
THANKS!!!