Re: Fwd: Dataobjects find
| From: | Alan Knowles | 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:
try using $cat->toArray() here.$number_of_rows = $cat->find(); while ($cat->fetch()) {$cat_array[$cat->id] = array('name' => $cat->name, 'id' => $cat->id);
That should work, I think. HTH PJ _________________________________________________________________ Express yourself with cool emoticons http://www.msn.co.uk/messenger}