Re: Last error: how to get?

From: Date: Wed, 29 Jan 2003 11:01:22 +0000
Subject: Re: Last error: how to get?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-133477@lists.php.net to get a copy of this message
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

« previous php.general (#133477) next »