Re: updating to various tables

2006-09-26 Thread Chris Hartjes
On 9/26/06, michael234 [EMAIL PROTECTED] wrote: I have my appointments_controller.. var $name='Appointments'; function add() { $this-set('data', $this-Appointment-Enquiry-find()); if(empty($this-params['data'])) { $this-render();

Re: updating to various tables

2006-09-26 Thread michael234
Thank you very much for your reply, I have been reading it closely and try to apply it to my work, however I have found myself stuck in the same rut. My problem is really very simply but I've tried everything and can get a solution. All I need is to populate a field in my appointments form with

Re: updating to various tables

2006-09-25 Thread Mikee Freedom
hey Michael, to use data from multiple tables your controller has to have access to each of these models either via the assocations that exist between models or your uses var in your controller. e.g. Images and Albums In my Image Model I have a belongsTo association telling cake that each of