<?php $exception_message = preg_match("/SQLSTATE/i",$exception)? "Error related to MYSQL Database. Please click 'Back' button to continue." : $exception->getmessage(); ?>
50
<?php echo $exception_message; ?>
51
<!--An error occured on server. Please click 'Back' button to reload the page.-->