hey-

if I do this:

$query = "SELECT user FROM table WHERE cat='band'";
$result = mysql_query($query,$conn);
$rows = mysql_num_rows($result);

will I get something back from the $rows variable, or am I using the
mysql_num_rows() function incorrectly. What I'm trying to do is get the
number of rows returned as a result of that specific sql statement and
query.

thanks
chris


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to