Re: Passing variables to another page - newbie

From: Date: Sun, 06 May 2001 18:06:08 +0000
Subject: Re: Passing variables to another page - newbie
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-51647@lists.php.net to get a copy of this message
also is you want to add more than one variable in the example given you use the '&' Sign ex with one var: header("Location: http://something.foo.bar.com/page.extension?var1=etc"); ex with 3 vars: header("Location: http://something.foo.bar.com/page.extension?var1=etc&var2=123&var3=abc"); ----- Original Message ----- From: "Jack Dempsey" <dempsejn@georgetown.edu> To: <php-general@lists.php.net>; "Dean Martin" <dlmartin@cvn.net> Sent: Sunday, May 06, 2001 11:01 AM Subject: RE: [PHP] Passing variables to another page - newbie > header("Location: > http://something.foo.bar.com/page.extension?var1=etc"); > > -----Original Message----- > From: Dean Martin [mailto:dlmartin@cvn.net] > Sent: Sunday, May 06, 2001 1:50 PM > To: php-general@lists.php.net > Subject: [PHP] Passing variables to another page - newbie > > > I have an order form that is validating input, mailing me the results of the > form, then I want to pass the user off to either Paypal or Revecom > (depending on their choice) for processing. > > Everything works except trying to pass the variables to the payment > processor. I thought that > > header("location://url?var1=value1?var2=value2") would work but not luck. > > Could someone point me in the right direction please? > > Thanks, > Dean Martin > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#51647) next »