Re: numrows

From: Date: Mon, 19 Feb 2001 23:52:41 +0000
Subject: Re: numrows
References: 1  Groups: php.pear 
Request: Send a blank email to php-pear+get-1387@lists.php.net to get a copy of this message
Antonio Mármol Albert wrote: > > Hello, > > How can I do a numrows with DB PEAR ? $res = $dbh->query("SELECT foo FROM bar"); $rows = $res->numRows(); However, numRows() is not really supported in all databases, so if you can re-think your approach so you don't need it, that is generally recommended. - Stig

« previous php.pear (#1387) next »