Hi.

Im building a webpage for myself. and Ive just about got the basic image drawn up. (Critique if you want, I dont mind)

I have the 'DB connected' output from db.inc.php coming up in a monitor top left of the page. (more for fun than any real purpose).

2 things I need to know.

1) Is there any way I can delay the output a little so it comes up

testing connection..
(wait 2 secs)
ablueman.db
(wait 2 secs)
connection success
(wait 2 secs)
forum.db
(wait 2 secs)
connection success

Is the only way to do it making a countdown and calling it on each output or something or is there an easier way.

2) If the connection fails the error kicks the tables well out of wack cus of the size of it. Is there any way I can output this to the main table.

ie. In the mnitor it would say connection failed. and in the main window would come up the error.

Thanks in advance for any help you can give.