The behaviour of my Rapid PHP 2022 has changed from one day to the next. I must have changed "something" but I have no idea what that might be.
here it is:
I have just two files, "form.htm" and "formhandler.php".
In the "form.htm" file, I'll have the statements:
<form method="post" action="formhandler.php">
<input type="text" name="firstname" size="30">
<input type="submit" value="Submit Information">
</form>
Then, in the "formhandler.php" file, I will have:
<?php
$firstname = $_POST['firstname'];
print "<p>Congratulations $firstname</p>";
?>
Normally, when I execute the <SUBMIT> from the "form.htm" file, The screen will clear and I'll see the message "Congratulations Paul".
However, when I execute the <SUBMIT> now, the screen will clear but display the text code written for "formhandler.php" file.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body>
<?php
$firstname = $_POST['firstname'];
print "<p>Congratulations $firstname</p>";
?>
</body>
</html>
What have I scrambled in the Rapid PHP 2022??