Hello PHP gurus,
I start learning PHP a couple of days ago. I am running PHP 4. on Red Hat 9.
Look like things are setup correct. I have no problem running since script
like
<?
phpinfo();
?>.
However, I can't get the any variable output from the following, whether
clicking on the "Test" or not. $QUERY_STRING, $Year, and $Month are always
empty.
File test1/php:
<html>
<head>
<title></title>
</head><body>
<?
echo "QUERY_STRING = $QUERY_STRING <br>\n";
echo "Year = $Year<br>\n";
echo "Month = $Month<br>\n";
echo "<a href=\"./test1.php?Year=2005&Month=1\">Test</a>";
?>
</body></html>
Please help. Thanks a bunch.
--
Allen Guan
281-489-2314