I'm sure it's easy, but I can not see how to upload a CI optional file.
If you leave the file input box empty, the error "you did not select an upload file" appeared.
The reason for this should be that alternatively, my form edits a directory type
what is the way to remove the "expected" error on the file class
Use the following:
& lt ;? Php if ($ _FILES and $ _FILES ['field_name'] ['name']) {// upload file}
Comments
Post a Comment