Borgs8472
03-07-2006, 12:21 AM
If like me you've run forums for a while now, you'll be used to the database error message.
(wish I had one to hand - but you know what I mean)
Now I accept it as a given that from time to time users will see a database error, and sending me an email is not usually much help since it's usally all errors or no errors.
How could I customise the PHP database error in the style of my site?
Obviously it'd involve a simple frame with MANUAL CSS (rather than stored in the DB ;) ), the site logo and a custom phrase about what users should do if they see this message. (e.g my email and MSN details, or even a backup forum)
But fundementally, how can I make a custom PHP error message?
Ta!
(wish I had one to hand - but you know what I mean)
Now I accept it as a given that from time to time users will see a database error, and sending me an email is not usually much help since it's usally all errors or no errors.
How could I customise the PHP database error in the style of my site?
Obviously it'd involve a simple frame with MANUAL CSS (rather than stored in the DB ;) ), the site logo and a custom phrase about what users should do if they see this message. (e.g my email and MSN details, or even a backup forum)
But fundementally, how can I make a custom PHP error message?
Ta!