Doing it like that they'd be numeric wouldn't they? In other words, $this->data[0] would equal 'kat_checkboxes'.
Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 10 Jul 2010, at 18:35, Davor Ilic wrote: > i use it like this: > > > > $data = array( > 'kat_checkboxes', $this->Kat->find('all'), > 'pmedia_checkboxes', > $this->Productmedia->find('all') > ); > > $this->set($data); > > and in the view he tell me that the vars kat_checkboxes and pmedia_checkboxes > doesn´t exist... > > did id do something wrong by creating the set array? > > > > 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 cake-php@googlegroups.com > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group at > http://groups.google.com/group/cake-php?hl=en 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 cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en