O.K. Let's fix your code: //Your $table = new Model_Crescores(); $select = $table->select(); $select->order('cap_no'); $array = $table->fetchAll($select);
//Fixed $table = new Model_Crescores(); $select = $table->select(); $select->order('cap_no'); $rowset = $table->fetchAll($select); $array = $rowset->toArray(); Now you have what you wanted ;) Regards, Saša Stamenković On Tue, Jul 14, 2009 at 9:25 AM, jigen7 <i_love_ji...@yahoo.com> wrote: > > so i need to convert $array to an array? by using this > Zend_Db_Table_Rowset_Abstract::toArray($array)??? > -- > View this message in context: > http://www.nabble.com/Create-an-Excel-file-from-the-returned-table-rows-tp24474784p24474874.html > Sent from the Zend Framework mailing list archive at Nabble.com. > >