Re: Can't get $_GET to work
| From: | Michael W. | Date: | Wed, 29 Jun 2005 15:29:30 +0000 |
| Subject: | Re: Can't get $_GET to work | ||
| References: | 1 2 3 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-16403@lists.php.net to get a copy of this message | ||
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: <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 .