Thanks for the prompt replies, people.
The other listing follows...
"<html>
<head>
<title>Listing 9.1 A simple HTML form</title>
</head>
<body>
<form action="listing9.2.php" method="POST">
<p><strong>Name:</strong><br>
<input type="text" name="user"></p>
<p><strong>Address:</strong><br>
<textarea name="address" rows="5" cols="40"></textarea></p>
<p><input type="submit" value="send"></p>
</form>
</body>
</html>"
(ignore quotes)
I have saved the relevant file listings correctly and in the htdocs folder, which is the root folder for html / php running on the apache localhost server.
I tried editing the code and there was absolutely no difference. The XAMPP has its own demo scripts and these work fine, although, there aren't any multi-page scripts; they all work from one script.
Other details... this is localhost on a pc running win98, IE 6.0
Also, the XAMPP program has a status page which says which sections (PHP, Apache, etc) are working, and it says that smtp is deactivated... I don't know if this is of any relevance.