form_upload()

form_upload([$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 file upload input field tag

Return type:

string

This function is identical in all respects to the form_input() function above except that it uses the “file” input type, allowing it to be used to upload files.

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

Please login to continue.