[eluser]halwaraj[/eluser]
Hi,
I am using the following Function:
.
The problem is, the above statement is producing multiple tags.
If I do the following in the view file:
Code:
$hidden = array(
'name' => 'hiddenStory',
'id' => 'hiddenStory',
'value' => '',
);
echo form_hidden( $hidden );
It generates the following
Code:
<input name="name" value="hiddenLund" type="hidden">
<input name="id" value="hiddenLund" type="hidden">
<input name="value" value="" type="hidden">
What might be wrong?
Also, when I comment out the "echo form_hidden( $hidden );"
None of the above 3 tags are created