Re: Cannot read variables

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

 



On Tue, June 6, 2006 2:36 am, William Stokes wrote:
> I just set up a test box for PHP/MySQL on a WinXP box  and now I'm
> having
> trouble with variables passed to browser from a link.
>
> For example I have a link that outputs this:
> http://localhost/index.php?team=CF10b. Now the CF10b cannot be user in
> the
> code like it should.

Perhaps because you used 'team' and not 'user'...

echo $_GET['team'] should work for you.

> I turned to Register Globals on in the php.ini but that didn't help.
> Any
> ideas?

As said before, turn them back OFF!

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
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