<?php
}
elseif ($_POST && !$mailSent) {
?>
<p class="warning">Sorry, there was a problem sending your message. Please try later.</p>
<?php
}
elseif ($_POST && $mailSent) {
?>
<p><strong>Your message has been sent. Thank you for your feedback.</strong></p>
the 2 elseif lines ARE different, the first has a ! in front.
thanks for replying, I think Jason has a solution.
Thanks for the reply Jason, FYI I first set this page up over a year ago using code from David Power's book.
I will make other changes to the if statements as needed.
Thanks again