SyntaxFix
Write A Post
Hire A Developer
Questions
According to http://php.net/manual/en/function.error-get-last.php, use:
print_r(error_get_last());
Which will return an array of the last error generated. You can access the [message] element to display the error.
[message]