RE: [PHP] Passing two variables from page to page
| From: | Robert Collins | Date: | Thu, 04 Jan 2001 17:36:50 +0000 |
| Subject: | RE: [PHP] Passing two variables from page to page | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-32669@lists.php.net to get a copy of this message | ||
this should do the trick:
http://www.url.phtml?var1=var1&var2=var2
basically url folloed by a question mark (?) then var 1 then an ambersand
(&) to seperate each var after that.
-----Original Message-----
From: Mark Lo [mailto:markloky@netvigator.com]
Sent: Thursday, January 04, 2001 10:33 AM
To: PHP List
Subject: [PHP] Passing two variables from page to page
Hi,
I would like to know how to pass two variables from pages to pages.
I know how to pass only one variable from page to page. that is
"http://www.domain.com/pass/variable.phtml?email=markloky@netvigator.com"
But, what if I have two variables, one is email=markloky@netvigator.com
and the other one is name=mark lo. Then, how to pass the tow variables
from page to page using the above method but setting cookies.
Thank you for your help
Mark
--
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