Hi, I have no idea where to start with this so I would appreciate it
if someone can point me in the right direction:

I have a products (controller, model, view)
In it I display a list of products, in the products table there is a
user_id, in the user table there is a country_id.

Question: how do I display the country of a user on a view, which
comes from the products controller?

so far here is the controller code for my view.

   function view() {
       $products = $this->Product->recursive = 0;
       $this->set('products',$products);
       $this->set('products',$this->paginate());

        }

pfew!
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to