RE: [PHP-DB] determining if a query returns no value
| From: | Matt Schroebel | Date: | Thu, 07 Aug 2003 17:39:06 +0000 |
| Subject: | RE: [PHP-DB] determining if a query returns no value | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-29747@lists.php.net to get a copy of this message | ||
Wendall Williams wrote:
> If the client has no entries for that category, it
> needs to move on to the next category.
Yes, see mysql_num_row($result). That function will return the number
of rows in the result set.