Found it, if track_errors is set then the last error is in
$php_errormsg. However be careful as the variable is initially not set
and doing a if ($php_errormsg != "") will resultin an error.
Jc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- [PHP] Last error: how to get? Jean-Christian Imbeault
- Jean-Christian Imbeault