Re: Re: Accepting data from URL Parameters

From: Date: Wed, 24 Sep 2003 14:50:36 +0000
Subject: Re: Re: Accepting data from URL Parameters
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-163755@lists.php.net to get a copy of this message
On Wednesday 24 September 2003 9:47, Gal wrote: > try this: > <?php > echo 'Value1 = '.$_GET['Value1']; > echo "<br>\n"; > echo 'Value2 = '.$_GET['Value2']; > ?> even better try this: <?php foreach ($_GET as $key=>$value) { echo "$key = $value<br />"; } ?> -Jackson > > Jared Steckel wrote: > > I appologize for what may be a newbie-like request, but I have not been > > able to find this information in the PHP documentation. > > > > If I were to have a link on an HTML page such as the following: > > > > > > http://www.foo.com/myscripts/myscript.php?Value1=value&Value2=value > > > > How can I retrieve those values in the script? Should I construct the > > link differently? Is there a completely different method I'm missing > > altogether? > > > > Thanks so much in advance for any help you could provide! > > > > Jared -- jackson miller cold feet creative 615.321.3300 / 800.595.4401 jackson@coldfeetcreative.com     cold feet presents Emma the world's easiest email marketing Learn more @  http://www.myemma.com

« previous php.general (#163755) next »