I understand how you can populate fields using $this->data, a great
way to make the use of forms very easy. Editing one item of a database
is a piece of 'cake' this way!
What I'm trying to do now is a bit more difficult and seems to get me
stuck on using the html helper:
I've got a category, I wish to assign multiple movies at once to
this... therefor I query all currently un-assigned movies, show them
in a table, complete with checkboxes and a submit button,
I bind the findAll query to the $this->data and try to populate the
form... but how can I use $this->data which contains multiple records,
ofcourse using $html->input('Movie/name'); does not give the required
effect.
Basically, the question comes down to... how can I 'crawl' through the
$this->data array... and make Cake clear that this contains more than
1 record.
thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---