M
Mike Barnard
I'm trying to tidy up the sending of an email message from the contact
page. I want the user to get the option of two buttons when the mail
has been sent, so he can choose what to do next.
The CSS for "bigphone" and "button_contact" is coded and the bigphone
works. However the button doesn't seem to. Just to clarify, is the
syntax here correct? The anchors are being displayed but the css isn't
being actioned.
if (mail($recipient,$subject,$message,$headers)) {
echo "
<h3 class=\"bigphone\">
Your mail has been sent, thank you
</h3>
<br><br>
<a class=\"button_contact\" href=\"contact.php\">
Return to Contact Me page
</a>
<a class=\"button_contact\" href=\"index.php\">
Return to home page
</a>
";
Thanks.
page. I want the user to get the option of two buttons when the mail
has been sent, so he can choose what to do next.
The CSS for "bigphone" and "button_contact" is coded and the bigphone
works. However the button doesn't seem to. Just to clarify, is the
syntax here correct? The anchors are being displayed but the css isn't
being actioned.
if (mail($recipient,$subject,$message,$headers)) {
echo "
<h3 class=\"bigphone\">
Your mail has been sent, thank you
</h3>
<br><br>
<a class=\"button_contact\" href=\"contact.php\">
Return to Contact Me page
</a>
<a class=\"button_contact\" href=\"index.php\">
Return to home page
</a>
";
Thanks.