Re: Cannot read variables
| From: | Richard Lynch | Date: | Wed, 07 Jun 2006 01:26:57 +0000 |
| Subject: | Re: Cannot read variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-237522@lists.php.net to get a copy of this message | ||
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