When using the header function is it possible to pass along more than just the new URL name?
For example, I have a form that processes user input. The script for the form chooses one of several other forms to display, depending upon what the user entered. This is done with a case statement, e.g.
switch($which_form) {
case "two":
header("Location: /path/to/form/2.html");
break;
case "three":
header("Location: /path/to/form/3.html");
break;
}
How can I also pass along other variables from the first form to the next form? I've tried using hidden variables, but it does not seem to work.