RE: [PHP-DB] PHP 5 Error Handling

2004-09-15 Thread Gary Every
Good question. I've tried the __LINE__ and __FILE__ in my error-handling, but it does the same thing you're experiencing, getting the line in the function/method as opposed to the actual error line. The only way I've gone around it is whenever there may be an exception, such as a sql statement,

Re: [PHP-DB] PHP 5 Error Handling

2004-09-15 Thread Joseph Crawford
guys thanks for the responses, i am sure i may be able to parse the results of $e-getTrace() to get the results i want ;) On Wed, 15 Sep 2004 09:25:05 -0500, Gary Every [EMAIL PROTECTED] wrote: Good question. I've tried the __LINE__ and __FILE__ in my error-handling, but it does the same thing