I am a new kid in propramming and self-learning. Can anyone tell why “the answer doesn’t show up”.
<html>
<head></head>
<body>
<form method=get action="text.php">
Who is your favourite author?
<input name="Author" Type="text">
<br>
<br>
<input type=submit>
</form>
</body>
</html>
<html>
<head></head>
<body>
Your favorite author is:
<?php
echo $Author;
?>
</body>
</html>
This time the web page shown up as:
Your favorite author is:
BUT, WITHOUT the name I input on the HTML form.
However, the brower URL got the correct answer.
The author of the book says it works, but I couldn’t
Please advise!!!
Admin Edit: Added the [code] tags to segment Code sections from rest of post. Please see http://phphelp.com/guidelines.php for posting guidelines.