I don't know why, but I solved using an alias for my "page_id" field.
Sergio Rinaudo From: [email protected] To: [email protected] Date: Thu, 11 Jun 2009 11:42:22 +0200 Subject: [fw-general] Zend_Paginator issue Hi, I'm getting a strange error with Zend_Paginator. I use this code to instanciate a paginator object $paginator = Zend_Paginator::factory($select); Where $select is a Zend_Db_Select object. In my view, everything is working until I am in the first page, then, from the second page, the primary key db field is null foreach ($this->paginator as $item): // here $item['page_id'] is NULL starting from page 2 endforeach; All the other table field are ok. Any advices? Thanks Sergio Rinaudo Personalizza Messenger 2009. Scegli la grafica che ti rappresenta meglio! _________________________________________________________________ Hai voglia di divertirti? Scarica i nuovissimi gadget di Messenger! http://messenger.it/home_gadget.aspx
