display_errors([$open = '
'[, $close = '
']])
Parameters: |
|
---|---|
Returns: |
Formatted error message(s) |
Return type: |
string |
Retrieves any error messages if the do_upload()
method returned false. The method does not echo automatically, it returns the data so you can assign it however you need.
Formatting Errors
By default the above method wraps any errors within <p> tags. You can set your own delimiters like this:
$this->upload->display_errors('<p>', '</p>');
Please login to continue.