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

http://api20.cakephp.org/class/controller#method-ControllerloadModel
--
Lep pozdrav, Tilen Majerle
http://majerle.eu



2012/1/20 marcogo <[email protected]>

> 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
> [email protected] 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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to