Posted: Wed Mar 02, 2005 3:37 pm
I used the meta refresh for a while, but I wanted to make it seemless for the user, which the header: location does.
I have this code as a fallback
So, if in any case the re-location should fail, the link will be provided.
I have this code as a fallback
Code: Select all
echo "<table width=730 style='border: solid 1px #000000' cellspacing=0 cellpadding=3 align=center>";
echo "<tr>";
echo "<td align=center bgcolor=$color2 style='border: solid 1px #000000'><B>Your Reply Has Been Submitted</B>";
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td align=center bgcolor=$color3 style='border: solid 1px #000000'><p>Your reply has been submitted.<BR>";
echo "You will be automatically redirected to your post in 1 second.</p>";
echo "<p>If you are not redirected, or you do not wish to wait, click the link below.</p>";
echo "<p><a href=showthread.php?threadid=$threadid&page=$page><u>Go To Your Post</u></p>";
echo "</td>";
echo "</tr>";
echo "</table>";