Graceful Handling of Technical PHP/SQL errors
<p>I'm developing a PHP web application that is heavy on the database interactions.  My question is, how do I display "Pretty" errors.  I've got all kinds of exceptions and what not in pretty much every aspect of the app, but they still just awkwardly post the error text (which I currently have working perfectly) either above a half loaded page or on a blank, white background.</p>

<p>How do I go about rerouting these to a generic error page that has a nice, contained spot for inserting the error message so that clients and testers can communicate it to me.</p>

<p>My immediate guess would be to post these errors, but I don't know how to do that outside a form much less inside of a function.  </p>
