Hi thanks, It worked......:)
On Wed, Apr 7, 2010 at 4:59 PM, Hani Sana <[email protected]> wrote: > In your App controller > make a >>>>>>>>>>>>> > function beforeRender() > { > $this->____fetchData(); > } > below it make a function to fetch data like > function __fetchData() > { > $this->loadModel('modelname'); > $varname = $this->modelname->find('all'); > $this->set('varname ',$varname; > } > > I hope this will solved your problems ,try it ..............Bye. > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > 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]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > > To unsubscribe, reply using "remove me" as the subject. > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
