Input array

Hi!

How to use array in input field?

This is my dropdown lis:


<?php echo $form->labelEx($model,'nap_'.$i); ?>

                <?php echo $form->dropDownList($model, 'nap_'.$i, $ora); ?>

		<?php echo $form->error($model,'nap_'.$i); ?>

                <?php echo $form->dropDownList($model, 'nap_'.$i, $perc); ?>

		<?php echo $form->error($model,'nap_'.$i); ?>



I use a row in table. When i replace ‘nap_’.$i to ‘nap_’.$i.’[]’ generate this:


name="Hirdetes[nap_1][]"

but is dump this array not show all element.

try to use tabular forms

Thank you!