Fwd: [PHP] Error Handling

From: Date: Fri, 09 Sep 2005 18:02:23 +0000
Subject: Fwd: [PHP] Error Handling
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-222096@lists.php.net to get a copy of this message
Hello Chuck On 9/9/05, Chuck Brockman <cjbrockman@gmail.com> wrote: > What is a good way to capture errors that occur. I've tried the > following code in development, but it still spits out an error (Parse > error: syntax error, unexpected '}', expecting ',' or ';' in > X:\xxxx\xxxx\xxxx.php on line 7) > > <? > // error handling test > > try{ > $test = 1; > echo $test1 > } Ooppsss You're missing a ; yoy might: echo $test1; } Good luck -- Pablo M. Rivas. http://www.pmrivas.com http://www.r3soft.com.ar -----------------------------------------------------------

« previous php.general (#222096) next »