Re: [PHP] Error Handling question

2007-08-07 Thread Richard Lynch
On Mon, August 6, 2007 4:41 am, debussy007 wrote: > I am new to PHP and need some help for error handling. > > I read in the docs that i can handle the errors this way in my PhP: > > set_error_handler('errorHandler'); > function errorHandler($errnum,$errmsg,$file,$lineno){ > [...] > } > > But d

Re: [PHP] Error Handling question

2007-08-06 Thread brian
debussy007 wrote: Hi, I am new to PHP and need some help for error handling. I read in the docs that i can handle the errors this way in my PhP: set_error_handler('errorHandler'); function errorHandler($errnum,$errmsg,$file,$lineno){ [...] } But does that mean that I have to copy paste th

[PHP] Error Handling question

2007-08-06 Thread debussy007
Hi, I am new to PHP and need some help for error handling. I read in the docs that i can handle the errors this way in my PhP: set_error_handler('errorHandler'); function errorHandler($errnum,$errmsg,$file,$lineno){ [...] } But does that mean that I have to copy paste this code in all my P