You were right on the mark! I plugged in a name before the php statement to see what it would do, i.e.:
<?php $person="newperson" ?>
<?php print('<input type="text" name="person" value="' . $person . '"size="15" />'); ?>
and, the results:
Please enter your name:
I am... [newperson ] [GO button]
However, I believe the book stated it wrong. For example, as an excerpt, it says:
"If you are familiar with other programming languages, you noticed that $person was never declared or initialized. Strongly typed languages require a variable to be declared and its type to be defined before the variable can be used to store data. This is not the case with PHP, as you will soon learn..."
(Notice my underlines!)
I now understand based on other reviews I've read of books on PHP and other related material is that some books have some things either confused or taken out. This may be one of the cases.
But, isn't there a way to not initialize a variable in PHP?