Re: $_GET

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

On Sunday 12 April 2009, Ron Piggott wrote:
> At the very start of my index.php I have the following lines of code:
>
> foreach($_GET as $key => $val) {
> $$key = $_GET[$val];
> echo $_GET[$val] . "<br />";
> }

Try:

echo $_GET[$key] . "<br />";

HTH

Mark

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux