On Tue, 6 Jun 2006 10:36:12 +0300, you 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.
>
>I turned to Register Globals on in the php.ini but that didn't help. Any 
>ideas?

Most likely you didn't turn RG on (typo? wrong php.ini?), or didn't
restart.

Try:

print_r ($_POST);
print_r ($_GET);
print_r ($_REQUEST);

to see if your variable is being passed. If it is, PHP isn't set up as
you want it. If it isn't, there's something more fundamental wrong.

-- 

http://www.otton.org/

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

Reply via email to