Re: Handling DB connect error.

2007-10-02 Thread Thejaswi Puthraya
On Oct 2, 1:47 am, handsome greg <[EMAIL PROTECTED]> wrote: > Ok here's another quick question. How can I catch a DB connect that > fails and perform some kind of action (display a "sorry... site's > down" page, etc.) if the DB isn't available? I can't seem to figure it > out. Thanks! Use the try

Handling DB connect error.

2007-10-01 Thread handsome greg
Ok here's another quick question. How can I catch a DB connect that fails and perform some kind of action (display a "sorry... site's down" page, etc.) if the DB isn't available? I can't seem to figure it out. Thanks! --~--~-~--~~~---~--~~ You received this messag