hi all, i have spent some stupid hours on this, and still cant work
out what is going on...

I have this code:

var $paginate = array(
                        'AcumarcBuilding' => array(
                                'limit'         => 25,
                                'order'         => array(
                                        'AcumarcBuilding.id' => 'asc'
                                )
                        )
                );

then:

$data = $this->paginate('AcumarcBuilding');
                        $this->set(compact('data'));

but, the variable $data in the view, is a boolean and is set to false.
What is going on?? This is the second controller that has done this
now, and need to get this sorted urgently :( Any help would be greatly
appreciated.

Thanks

Patrick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to