Re: Can't get $_GET to work
| From: | Ian Bambury | Date: | Wed, 29 Jun 2005 14:43:28 +0000 |
| Subject: | Re: Can't get $_GET to work | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-16402@lists.php.net to get a copy of this message | ||
Thanks for that, unfortunately it hasn't fixed the problem, true though it may be.
files now read:
<html>
<head><title></title></head>
<body> name: <form action="b.php" method="get">
<input type="text" name="xname"><br>
<input type="submit" value="send">
</form>
</body>
</html>
------------------
<html>
<head><title></title></head>
<body>
name:
<?php
echo $_GET['xname'];
$v = "Hello";
?>
<br>
<?php
echo $v;
?>
<br>
</body>
</html>
Querystring = http://127.0.0.1/b.php?xname=fred
...but still no joy. The "Hello" turns up, though.
Thanks,
Ian