Re: Fwd: Dataobjects find

From: Date: Fri, 25 Apr 2003 01:05:59 +0000
Subject: Re: Fwd: Dataobjects find
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-5051@lists.php.net to get a copy of this message
Pj Taylor wrote:
$number_of_rows = $cat->find(); while ($cat->fetch()) {
    $cat_array[$cat->id] = array('name' => $cat->name, 'id' => $cat->id);
try using $cat->toArray() here.
}
That should work, I think. HTH PJ _________________________________________________________________ Express yourself with cool emoticons http://www.msn.co.uk/messenger


« previous php.pear.general (#5051) next »