Retrieve it in controller and set to view. Do it at beforeRender(), for example.
On Jun 18, 12:39 pm, thom <cyber.phanto...@gmail.com> wrote: > I'd like to create a header that contain data from database. But I'm > stucked at how to load the data from the database. I already tried > requestAction, but since it's not recommended, I am considering to > leave it. I rarely got my page error though, said error in limit-reach > or similar. > > Is there any way to do retrieve the data? > Thank you. > > -- > Regards,,, > mastanto > (thom_)http://mynameisthom.tumblr.comhttp://mynameisthom.blogspot.comhttp://www.twitter.com/mastanto_ -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php