Friday, January 20, 2012

Re: cakephp first step

create one controller
and there work with 2 tables (models)

you can load models on the fly with $this->loadModel('ModelName');
and access to him with $this->ModelName

--
Lep pozdrav, Tilen Majerle



2012/1/20 marcogo <marco.geritec@gmail.com>
hi
please apologize my english

i want to display 2 tables from mysql on the same page

no relationship between 2 table

only show 2 differente tables in a same page...

i try
make 2 different model
make 2 different controller

but i can see only the first table, but not the second one

thanks

--
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

--
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: