Hey all,
Thanks in advance for your help...
I'm getting an undefined variable error in my code, and I'm not sure what is
wrong. I just installed PHP, which is why I am posting here.
Contents of the HTML Form:
<form action="test.php" method=POST>
<input type="text" name="custname">
<input type=submit name="Submit" value="Submit">
</form>
Contents of test.php:
<?
echo "<p>Here are the results:</p>";
echo date("H:i, jS F");
echo $custname;
?>
I'm getting the following error:
NOTICE: undefined variable: custname on
d://**path here**/test.php on line 4.
(i just put "path name" rather than type out the whole long string)
I am running win 2000 server and using IIS 5.0. I ran the PHP installer and
then added phpisapi to the windows directory and then added the phpisapi
filter in IIS. The date above comes up correctly, but I can't get any
variables to move over from the form to the php file.
I searched through the help files and through a couple newsgroups with no
luck. What am I doing wrong?
Thanks!
Steve
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php