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.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit:
Youy could use:
if(!$result) {
// Don't display
} else {
echo Title;
}
You fill in the blanks
Gary Every
Sr. UNIX Administrator
Ingram Entertainment
(615) 287-4876
Pay It Forward
mailto:[EMAIL PROTECTED]
http://accessingram.com
-Original Message-
From: Wendall Williams
Quoting [EMAIL PROTECTED]:
Youy could use:
if(!$result) {
// Don't display
} else {
echo Title;
}
You fill in the blanks
That only checks to see the query failed. A query returning no rows doesn't fail...
--
Adam Alkins
http://www.rasadam.com
--
PHP Database Mailing List