[eluser]UdayD[/eluser]
I just read that to write a form input i have to write as below:
Code:
$data = array(
'name' => 'username',
'id' => 'username',
'value' => 'johndoe',
'maxlength' => '100',
'size' => '50',
'style' => 'width:50%',
);
echo form_input($data);
but if i have to write 10 inputs with same length, size and style.
how will i do that do i need to make ten different arrays and the pass them to
echo form_input($array1);...
how will i do this?? is their a simpler way?
Thanks in advance