I spoke too soon. The problem I'm having is the variable value entered in the html page is not passing to the php script.
My input in the html page is:
<form action="var.php4" method="POST">
<tr>
<td>Test1</td>
<td align=center><input type="text" name="test1" size=3 maxlength=4><br></td>
<p><input type="submit" value="submit">
</tr>
</form>
The code in var.php4 is:
<html>
<head>
<title>PHP Variable test</title>
</head>
<body>
<?
$test2 = "abcd";
echo $test1 . " - is the value for Test 1<br />";
echo $test2 . " - is the value for Test 2<br />";
echo "End of php";
?>
</body>
</html>
Entering "aaaa" in the Test1 input results in the following display in my browser:
<html>
<head>
<title>PHP Variable test</title>
</head>
<body>
- is the value for Test 1<br />abcd - is the value for Test 2<br />End of php
</body>
</html>
I'm at a loss on how to find my error.
You are welcome to try it on my website at www.steaminc.com by going to the Test Area menu item.
I'd appreciate any help anyone can provide, and Happy New year to all!!!.