Short Little Test Script Going Wrong with $_GET
Posted: Fri Jan 17, 2003 4:38 am
Hello,
I'm just testing this out and cant get it to work.
1st File <test.php>
2nd File <test2.php>
And when test2.php is loaded I get a blank page. Whats going wrong?
btw, PHP Version 4.3.0
Thanks
-sane993
I'm just testing this out and cant get it to work.
1st File <test.php>
Code: Select all
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
</HEAD>
<BODY>
<A HREF="test2.php?name=test">Click Me!</A>
</BODY>
</HTML>Code: Select all
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
</HEAD>
<BODY>
<?php
$name = $_HTTP_GET_VARSї"name"];
echo $name;
?>
</BODY>
</HTML>btw, PHP Version 4.3.0
Thanks
-sane993