Re: need better solution
| From: | Christian Reiniger | Date: | Thu, 15 Feb 2001 10:21:57 +0000 |
| Subject: | Re: need better solution | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-39871@lists.php.net to get a copy of this message | ||
On Thursday 15 February 2001 02:49, Christian Dechery wrote:
> > > that's kinda what I have here... but the line of code isn't being
> > > shown... and that is the problem... I for one, think that in an
> > > error message the line of code is crucial.
> >
> >Check the manual for set_error_handler ()
>
> well... that could help, but even than I'd have to call that
> error_handler everytime I execd a query and still would have to pass to
> it the __LINE__ of code...
Read that section again. That error handler is called automatically every
time an error occurs, and __LINE__ is also passed automatically to it.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
I saw God --------- and she was black.