Ok I am getting an error that I cant fix it is a gay example in a book that will not work. I am using PHP 4.2.3 with the newest version of the apache server on XP home.
here is the code the error will be in bold.
The form that i used
<html>
<head></head>
<body>
<form method=get action="test.php">
Who is your favorite author?
<input name="author" type="text">
<br/>
<br/>
<input type="submit">
</form>
</body>
</html>
PHP code
<html>
<head></head>
<body>
My favorite author is:
<?php echo $author; ?>
</body>
</html>