Assuming you don't output anything else to a web page: header ("Location: index.html");
should do the trick if you put it at the end of the program. Be warned, though, that if you output anything to the browser at all, the header function will not work. Good luck! At 06:39 AM 10/24/2001, Roy W wrote: >I have several scripts that when you complete a form it executes a PHP >script. > >At the end of each script I have a simple statement saying it's done and >then a place to hyperlink back to a given page: > >PRINT "Process complete. <a href=\"index.html\">Click here</a> to continue"; > >But what I really wanna do is just have the script code execute and when its >all done - just take the user automatically to "index.html" or some other >page. > >I know there's a command but cant seem to find it. Thought it might be >"include()" but couldn't figure out my syntax > >Ideas? > >THANKS!!! :-) > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford "It is only with the heart that we see rightly; what is essential is invisible to the eye." --Antoine de Saint Exupéry "Push the button, Max!" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]