[eluser]BenSeagrave[/eluser]
Just watched the tutorial on the codeigniter site about making the blog. When making the form for the comments, he doesn't use functions like form_input() or form_textarea(). Is this for a reason or were the functions recently added. Also, how would I go about making a text area with form_input field. I tried to use the user guide but I didn't really understand as it doesn't declare anywhere that it's a text area.
example from user guide:
Code:
$data = array(
'name' => 'username',
'id' => 'username',
'value' => 'johndoe',
'maxlength' => '100',
'size' => '50',
'style' => 'width:50%',
);
echo form_input($data);
// Would produce:
<input type="text" name="username" id="username" value="johndoe" maxlength="100" size="50" style="width:50%" />
I don't understand why this would come out as a text input field?
Thanks