// Function to display form
function showForm($errorFirstName=false,$errorLastName=false,$errorPhone=false,$errorEmail=false,$errorMesg=false){
if ($errorFirstName) $errorTextFirstName = "Please enter your first name!";
if ($errorLastName) $errorTextLastName = "Please enter your last name!";
if ($errorPhone) $errorTextPhone = "Please enter a phone number!";
if ($errorEmail) $errorTextEmail = "Please enter a valid email address!";
echo '