Welcome Guest, Not a member yet? Register   Sign In
repopulating a textarea

[quote author="elaniobro" date="1268782825"]How would you post the textarea of your form back to the controller?[/quote]

Textarea behaves exactly the same as any form field, except that the data isn't in a value attribute, but between the opening and closing tags.

<textarea name="my_field">This is some data</textarea>
<?php echo $this->input->post('my_field'); // This is some data

I tried that. I have another thread I started:


But doing what you said is throwing me an error.

I fixed it.

Theme © iAndrew 2016 - Forum software by © MyBB