When an error occours in my code, for example say the MySQL server is off-line, is there a way to just show the error message (or rather a piece of text) instead of all the HTML already sent with the error message half way down?
Would I need to use the buffer option thing and if so how do I?

Thanx.