note 13152 deleted from function.odbc-num-rows by jimw

From: Date: Mon, 17 Dec 2001 22:33:47 +0000
Subject: note 13152 deleted from function.odbc-num-rows by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23034@lists.php.net to get a copy of this message
all those examples are good as well but can't we think about those who doesn't practice php every day ? so there a simple code : $count=odbc_num_rows($result); if($count==-1): $count=0; endif; while ($ligne=odbc_fetch_row($result)){ $count+=1; }

« previous php.notes (#23034) next »