how to display the contents of two tables in one page ?? i’m newbie
how to display the contents of two tables in one page ?? i’m newbie
you’ll have to be more specific then that.
Can one call a model of two tables?
in your controller, call your view with:
$this->render('my_superb_view', array(
'var1'=>$value1,
'var2'=>$value2,
));
where $value1 and $value2 contains data fetched from you two differents tables. Now you can var1 and var2 in your "my_superb_view