Re: Accepting data from URL Parameters

From: Date: Wed, 24 Sep 2003 14:47:01 +0000
Subject: Re: Accepting data from URL Parameters
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-163754@lists.php.net to get a copy of this message
try this: <?php echo 'Value1 = '.$_GET['Value1']; echo "<br>\n"; echo 'Value2 = '.$_GET['Value2']; ?> 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


« previous php.general (#163754) next »