n case it's a keyword clash or something silly like that, the query
string has the data there, but $_GET (and $_POST) just don't happen.
I'm running out of ideas.
Ian
- Original Message - From: "Michael W." <[EMAIL PROTECTED]>
To:
Sent: Wednesday, June 29, 20
e data there, but $_GET (and $_POST) just don't happen.
I'm running out of ideas.
Ian
- Original Message -
From: "Michael W." <[EMAIL PROTECTED]>
To:
Sent: Wednesday, June 29, 2005 4:29 PM
Subject: Re: [PHP-INSTALL] Can't get $_GET to work
What
What version of PHP are you using?
Ian Bambury wrote:
Thanks for that, unfortunately it hasn't fixed the problem, true
though it may be.
files now read:
name:
--
name:
Querystring = http://127.0.0.1/b.php?xname=fred
...but still no joy. The "Hello" turn
Thanks for that, unfortunately it hasn't fixed the problem, true though it
may be.
files now read:
name:
--
name:
Querystring = http://127.0.0.1/b.php?xname=fred
...but still no joy. The "Hello" turns up, though.
Thanks,
Ian
Your problem is that arrays (including $_GET and $_POST) are
case-sensitive. Thus, $_GET['name'] is not the same thing as
$_GET['Name']. The name of the form field is "Name", so you'd have to
use $_GET['Name'].
Ian Bambury wrote:
Hi Everyone,
I'm probably being a bit thick here, but I can't ge
Hi Everyone,
I'm probably being a bit thick here, but I can't get hold of $_GET or $_POST
variables. I've set up 2 files as simply as I can, but no joy.
File a.php
--
name:
---
produces http://127.0.0.1/b.php?name=fred
file b.php
-
Name:
-
pri