note 6398 modified in mysql_num_rows by ronabop
| From: | ronabop@php.net | Date: | Sat, 19 Aug 2000 04:14:09 +0000 |
| Subject: | note 6398 modified in mysql_num_rows by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2625@lists.php.net to get a copy of this message | ||
You first need to perform a MYSQL_QUERY operation, assigning the result to a variable (eg $result =
MYSQL_QUERY...), then put the variable into the MYSQL_NUM_ROWS (eg $rows = MYSQL_NUM_ROWS($result);)
http://www.php.net/manual/function.mysql-num-rows.php