note 15294 rejected and deleted from function.mysql-num-rows by jmcastagnetto

From: Date: Wed, 05 Sep 2001 19:12:37 +0000
Subject: note 15294 rejected and deleted from function.mysql-num-rows by jmcastagnetto
Groups: php.notes 
Request: Send a blank email to php-notes+get-17657@lists.php.net to get a copy of this message
I'm trying to get the number of rows from a select statement... but if no rows are returned, then nothing is passed into my variable. How can I make my variable 0 if no rows are returned?

« previous php.notes (#17657) next »