Hi everyone,

I have two models, Employee and Customer.  Employee belongsTo
Customer. I want to have a view Employee/index/customer_id where I can
have a table view of all employees that belong to a certain
customer.

How would I go about calling the Customer Model to genrate a data set
that lists all customers ,so that in the Employee/index file I can
generate a dropdown to select the customer to sort the data by.

I haven't been able to find any examples of something like this
anywhere I have looked.

Any help would be appreciated.

Travis
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
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