checking for 0 results?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



maybe i'm totally not thinking straight right now, but is there a way in php
to check if 0 results are returned in a mysql query?

for example, i have a definition database, that has a list of letters the
user clicks on (click on the letter, and all the terms for that letter pop
up).. but for some letters there are no terms. so i just wanted to echo out
a simple "no terms" message or something. in any case, i need to check if
there are no results from a mysql query (an error won't be returned).

thanks ..

-jon



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux