[PHP] Error Trapping

2009-07-10 Thread Floyd Resler
I'm having a hard time getting my head around this problem. I have to connect to a FoxPro database using an ODBC driver. Sometimes when I connect I get an error. The error doesn't occur all the time and usually another connect attempt works. I can trap the error through an error

Re: [PHP] Error Trapping

2009-07-10 Thread Eddie Drapkin
On Fri, Jul 10, 2009 at 10:56 AM, Floyd Reslerfres...@adex-intl.com wrote: I'm having a hard time getting my head around this problem.  I have to connect to a FoxPro database using an ODBC driver.  Sometimes when I connect I get an error.  The error doesn't occur all the time and usually

Re: [PHP] Error Trapping

2009-07-10 Thread Floyd Resler
Eddie, Thanks for the tip. It suddenly occurred to me what I was doing wrong. I do use an error trap but I was telling my script to stop running after the error. So, now I ignore it and continue through the loop you suggested. I guess it was working exactly the way I had written it!

Re: [PHP] Error Trapping

2009-07-10 Thread Eddie Drapkin
On Fri, Jul 10, 2009 at 11:39 AM, Floyd Reslerfres...@adex-intl.com wrote: Eddie,        Thanks for the tip.  It suddenly occurred to me what I was doing wrong.  I do use an error trap but I was telling my script to stop running after the error.  So, now I ignore it and continue through the

[PHP] Error trapping

2001-09-03 Thread Tim Ward
I've gone an annoying problem. On our site I've trapped file does not exist errors at Apache level to send out my own error screen with a company logo, link to home page and a mailto link, but this doesn't work for any request for a page that would be parsed by php if it existed. In this case a

[PHP] error trapping

2001-07-27 Thread Phil Spitler
I am wondering the best way to handle error trapping with PHP. I am farmiliar with languages, ColdFusion being one, that you can use TRY and CATCH statements. Any info would be appreciated. THANKS! - Phil Spitler [Vice President] Web Hut Design, Inc. c 704-451-1324

[PHP] error trapping

2001-07-26 Thread Phil Spitler
I am wondering the best way to handle error trapping with PHP. I am farmiliar with languages, ColdFusion being one, that you can use TRY and CATCH statements. Any info would be appreciated. THANKS! - Phil Spitler [Vice President] Web Hut Design, Inc. c 704-451-1324