RE: [PHP] What the hell is wrong???
| From: | Brian McGarvie | Date: | Thu, 20 Jun 2002 08:28:37 +0000 |
| Subject: | RE: [PHP] What the hell is wrong??? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-103096@lists.php.net to get a copy of this message | ||
Try this.... it works for me...
<html>
<head>
</head>
<body>
<?php
if(isset($name)) {
echo $name;
} else {
?>
<form action="self.php" method="post">
<input type="text" name="name" size=20>
<input type="submit" value="go">
</form>
<?
}
?>
</body>
</html>
[ --------------------------------------------------------- ]
[ Brian M McGarvie - Director ]
[ mcgarvie:net OnLine IT Consultancy ]
[ http://www.mcgarvie.net :: http://www.the-local-guide.com ]
[ --------------------------------------------------------- ]