HTML Form Post isn’t passing variables to PHP
Hello all,
I am running Windows 98, PHP Triad Apache 1.3.14 webserver, recently upgraded PHP to 4.0.5 and my forms aren’t passing the variables to PHP anymore.
File php1.php:
<html>
<form action="php2.php" method="post">
<input type=text name="abc">
<input type=submit>
</form>
</html>
File php2.php:
<html>
<?php
echo "[".$abc."]" ;
?>
</html>
Output from connecting to php1.php (after filling in the field and clicking on “Submit Query”):
Warning: Undefined variable: abc in C:\apache\htdocs\php2.php on line 3
[]
Thanks,
Charlie
chvol@aol.com