how do you fund out if a mysql resource is empty?

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

 



$result = mysql_query($sql,$link) or die(mysql_error());

how do you find out if $sql returned any recordsets?
is there a fast/super efficient  way of finding this out... something
along the lines of   is_empty($result) type thing?

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux