what are the code to link to another page?
Moderator: General Moderators
what are the code to link to another page?
I have this feedback form, and I want this to direct to another page after the form is sent. What codes will I use? I forgot how to use the window.something variables..
- andym01480
- Forum Contributor
- Posts: 390
- Joined: Wed Apr 19, 2006 5:01 pm
If it's to process the form is the html tag at the start of the form.
If its after the form has been processed and no output has been sent to the browser then use
Code: Select all
<form action="processpage.php" method=post>If its after the form has been processed and no output has been sent to the browser then use
Code: Select all
<?php
header("Location: http://www.example.com/"); /* Redirect browser */
/* Make sure that code below does not get executed when we redirect. */
exit;
?>