Header ("location: test.php");

From: Date: Tue, 20 Feb 2001 18:05:48 +0000
Subject: Header ("location: test.php");
Groups: php.general 
Request: Send a blank email to php-general+get-40776@lists.php.net to get a copy of this message
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

« previous php.general (#40776) next »