tuxfan
Technomancer
I am getting an error in PHP. What's wrong? Its on Win98SE, Apache 2.0.54, PHP 5.
Here's forms.htm file
Here's the forms.php file
Here's the error that I get The URL of the browser window is *localhost/forms.php?user=tuxfan&address=Mumbai
Here's forms.htm file
Code:
<html>
<head></head>
<body>
<form action="forms.php" method="GET">
<input type="text" name="user">
<textarea name="address" rows="5" cols="40"></textarea>
<input type="submit" value="Submit">
</form>
</body>
</html>
Here's the forms.php file
Code:
<html><head></head>
<body>
<?php
print "Welcome [b]$user[/b]
";
print "Your address is:[b]$address[/b]";
?>
</body>
</html>
Here's the error that I get The URL of the browser window is *localhost/forms.php?user=tuxfan&address=Mumbai
Notice: Undefined variable: user in D:\apacheww\forms.php on line 4
Welcome
Notice: Undefined variable: address in D:\apacheww\forms.php on line 5
Your address is: