In my cakephp form, I have the following code
<p> <?php echo $form->input('option[]',array('size'=>13)); ?> </p>
<p> <?php echo $form->input('option[]',array('size'=>13)); ?> </p>
<p> <?php echo $form->input('option[]',array('size'=>13)); ?> </p>
<p> <?php echo $form->input('option[]',array('size'=>13)); ?> </p>
I am trying to get values ββfrom a set of text input fields, the number of text fields can be set by the user, so I can not specify the individual names of each text field, but how can I get the values ββfrom my controller to insert data into the db table
thank
source
share