Hey i want to add multiple values of the same type to my database.

like this:

<input name="data[Price][value][]">
<input name="data[Price][value][]">
<input name="data[Price][value][]">
<input name="data[Price][value][]">

My question is, can i achieve this with the following html helper tags?

<?=$html->input('Price/value')?>
<?=$html->selectTag('Price/value')?>

I want this because i use 4 selecttags in this form.
When it can't be done ill have to write it manually but ill have to
loop through the selecttag values 4 times. It is sort of lazy i know,
but why do the loop when it can be done by cake!


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to