I was incredibly dumb and putting it in the wrong part of the function. Thank you for your help!
On Mar 19, 1:50 am, WebbedIT <[email protected]> wrote: > To pass any data to the view from the controller you must use: > > $this->set('varName', $var); > > So you should be doing: > > $types = $this->Company->CompanyType->find('list'); > $this->set('types', $types); > > or > > $this->set('types', $this->Company->CompanyType->find('list')); > > HTH > > Paul Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" 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 To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
