I I wanted to learn php programming, so I purchase Beginning PHP 4.
By the way Great book!
But when I began writing out some of the example scripts, and loading them into my web sever. The example scripts did not work.
The examples scripts in the chapter 1 and 2 worked just fine, but the example scripts from chapter 3 and up just does not work.
Here are some of the example script, below:
HTML Script:
<html>
<head></head>
<body>
<form method=post action="radio.php">
What is the state of Portugal?
<br>
<br>
<input name="Question1" type="radio" value="Porto">Porto
<br>
<input name="Question1" type="radio" value="Lisbon">Lisbon
<br>
<input name="Question1" type="radio" value="Madrid">Madrid
<br>
<br>
<input type="Submit">
</form>
</body>
</html>
PHP Script:
<html>
<head></head>
<body>
<?php
echo "You have selected the answer: $Question1";
?>
</body>
</html>
Or see it live:
http://www.urbani.ws/php/radio.htm
Please help; I am starting to get discouraged.