Fwd: Error Handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Chuck
On 9/9/05, Chuck Brockman <cjbrockman@xxxxxxxxx> 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
-----------------------------------------------------------

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux