Sorry, our guestbook is out of order. Please try again later
"; if ($_POST) { $errors = validate_form($_POST); if ($errors) { echo "Sorry, we are unable to process your submission because:
Please correct your form below and re-submit it
"; display_form($_POST); } else { db_connect() or die ($ERROR_MESSAGE); if (!save_comment($_POST)) { if (mysql_error() && stristr(mysql_error(),'Duplicate entry')) { echo "Sorry, a textually identical comment and commenter name have already been entered.
"; display_form($_POST); exit; } else { die($ERROR_MESSAGE); } } display_comments() or die($ERROR_MESSAGE); display_form($defaults); } } else { db_connect() or die ($ERROR_MESSAGE); display_comments() or die($ERROR_MESSAGE); display_form($defaults); } ?>