$result = mysql_query( "SELECT * FROM users, $link );
first off you need to add a quote mark
$result = mysql_query( "SELECT * FROM users, $link ");
but even then, I plugged this into my test db
set $link to the name of my valid DB, and got the error
getRow fatal error No Database Selected
Warning: Supplied argument is not a valid MySQL result resource in
c:\program files\apache group\apache\htdocs\getrow.php on line 23
You didnt get an error message because the function failed, due to the missing quotation mark.
the $message is the next available line to execute and gives you your error... maybe????? dont know with out the full source
hope that helps in troubleshooting...