Guys,
After using a php script to work as the "action" of a form, I usually display a lame "Your <whatever> has been <whatever>!" on a blank page. I'm trying to liven things up a bit, so here's my question: What is the preferred way to redirect the browser to a web site after the submit has been clicked and the processing done?
In other words, I usually do this:
<?php
do_the_work();
echo "The work has been done!";
echo "<a href=\"referring_page.php\">BACK</a>";
?>
What I want to do is:
<?php
do_the_work();
// code here sends the browser back to the
// page before the form...
?>
How do I do this?
Thanks!
chewy