Re: Passing variables in a link

From: Date: Thu, 10 Aug 2000 22:17:59 +0000
Subject: Re: Passing variables in a link
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-11234@lists.php.net to get a copy of this message
you separate variables with ampersands in the query string. try this: www.somewhere.com/index.php?vbl1=red&vbl2=white You should have access to both in your PHP script. Good Luck, The Captain on 8/10/00 6:16 PM, lance@dallypost.com at lance@dallypost.com wrote: > This is a stupid question and I am sorry. I have been in the manual > for over an hour and can not find the answer. > > I need to pass two variables in a link > > example: > > www.somewhere.com/index.php?vbl1=red > > I also need to pass vbl2=white but cannot get it right. > > Thanks in advance

« previous php.general (#11234) next »