Or you can use ClassRegistry::init('ServerInfo')->find('all');
Thanks and Regards,
Divya Banik
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.Thanks and Regards,
Divya Banik
On Sun, Sep 26, 2010 at 12:57 AM, emmexx <emmeicsics@gmail.com> wrote:
$this->loadModel('ServerInfo');
On 25 Set, 03:24, Ancy DSouza <ancyc...@gmail.com> wrote:
> Now I want to populate the data of both the tables in my Members controller.
>
> Now Members table can be populated in Members controller as below.
> $table = $this->Member->query("SELECT members.id, members.name,
> members.email FROM members");
>
$server = $this->ServerInfo->find('all');
bye
maxx
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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment