Re: Header ("location: test.php");
| From: | Nuno Silva | Date: | Tue, 20 Feb 2001 18:11:16 +0000 |
| Subject: | Re: Header ("location: test.php"); | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40777@lists.php.net to get a copy of this message | ||
Christopher Allen wrote:
Hello, I am using the Header call in a script that has multiple submit buttons: if ($submit =1){ Header (location: test1.php); }if ($submit ==2){ Header(location: test2.php); }Should not the form varaibles be passed along to each of these pages respectively? I have about 30 variables that should be passed to each different page...none of these variables are showing up. Do I need to attach these to the url for each different header? such as:Header ("Location: test1.php?add=1&name=juan");??? Thanks Christopher C. M. Allen yes