RE: [PHP-DB] What happens when the database is down?

2003-07-20 Thread Ben Lake
ginal Message- From: Hanxue Lee [mailto:[EMAIL PROTECTED] Sent: Sunday, July 20, 2003 6:21 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] What happens when the database is down? Thank you for your answers. Perhaps I have not explained myself well enough. Firstly, I spl

Re: [PHP-DB] What happens when the database is down?

2003-07-20 Thread Hanxue Lee
Thank you for your answers. Perhaps I have not explained myself well enough. Firstly, I split the logic/data access code into a PHP class and the each HTML page is represented by a PHP file. The PHP file will call functions such as addStaff() which will write all the Staff details to the data

RE: [PHP-DB] What happens when the database is down?

2003-07-19 Thread Rich Hutchins
". Rich -Original Message- From: Miles Thompson [mailto:[EMAIL PROTECTED] Sent: Saturday, July 19, 2003 10:35 AM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] What happens when the database is down? C'mon, think about it. Connect to the database at the top of your page - i

Re: [PHP-DB] What happens when the database is down?

2003-07-19 Thread Miles Thompson
C'mon, think about it. Connect to the database at the top of your page - if you can't connect either error out and die, or branch to alternate output. As far as lack of error reporting is concerned, check and see what level of error reporting is set on the server; the manual has a helpful secti