<?php if($send_contact){echo "<meta http-equiv="Refresh" content="5 url=index.php"> </meta>"} ; else {echo ""}; ?> PHP: this is in my header. i want it so that if the email was sucessful it will redirect to the index in 5 seconds , while it says its sucessful below
<?php if($send_contact){echo "<meta http-equiv=\"Refresh\" content=\"5 url=index.php\"> </meta>"} ; else {echo ""}; ?> PHP: Try that.
<?php if($send_contact) { echo "<meta http-equiv=\"Refresh\" content=\"5 url=index.php\"> </meta>"; } else { echo ""; }; ?> PHP: