If i have a simple attribut i can use Using $html->input('Model/
fieldname')

I have a hasmany attribut names "hasmanyfieldname", and i want to
update each row of this attribut in a single form.
can i used the $htmlhelper ?

foreach ($params['data']['hasmanyfieldname'] as $key=>$val) {
     echo $val['libelle']; // to view the fied
     echo $html->input(XXXXXXXXXX); ?> // to edit =the fiedls
}

What can i code remplacing XXXXXXXXXX ?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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