form_textarea()

form_textarea([$data = ''[, $value = ''[, $extra = '']]])

Parameters:
  • $data (array) – Field attributes data
  • $value (string) – Field value
  • $extra (mixed) – Extra attributes to be added to the tag either as an array or a literal string
Returns:

An HTML textarea tag

Return type:

string

This function is identical in all respects to the form_input() function above except that it generates a “textarea” type.

Note

Instead of the maxlength and size attributes in the above example, you will instead specify rows and cols.

doc_CodeIgniter
2016-10-15 16:32:21
Comments
Leave a Comment

Please login to continue.