fileInput() public static method
Generates a file input field. To use a file input field, you should set the enclosing form's "enctype" attribute to be "multipart/form-data". After the form is submitted, the uploaded file information can be obtained via $_FILES[$name] (see PHP documentation).
public static string fileInput ( $name, $value = null, $options = [] )$name string
The name attribute. $value string
The value attribute. If it is null, the value attribute will not be generated.