Setup:
OS: Debian Stable
Web Server: Apache2
PHP: Vers 4.3.10-15
Problem is that on following an exercise in "Beginning PHP 4" (book), it outlines how to pass variables from a HTML page using both POST and GET methods, however I can display non of the passed values from the .html page to the PHP page, Code is as follows:
text.html
<HTML>
<HEAD></HEAD>
<BODY>
<FORM METHOD=GET ACTION="text.php">
Who is your favourite author?
<INPUT NAME="Author" TYPE="TEXT">
<BR>
<INPUT TYPE=SUBMIT>
</FORM>
</BODY>
</HTML>
text.php
<HTML>
<HEAD></HEAD>
<BODY>
Your favourite author is:
<?php
echo $Author;
?>
<?BODY>
</HTML>
I have tried replacing (as mentioned in this sites FAQ) 'echo $Author' with 'echo _GET['Author']' but it still does not display what is listed the values passed in the URL. There is another exercise showing the same but in using Post, but this too doesnt display the parsed values. Any help much appreciated!