I can t print the value of $_POST
in my browser.
This the form_methods.php
:
<html>
<head>
<title>Form Methods</title>
</head>
<body>
<form method="post" action="formoutputpage.php">
<p><input type="text" name="greeting" size="15"></p>
<p><input type="text" name="name" size="15"></p>
<p><input type="submit" name="submit" value="Salutation"></p>
</form>
</body>
</html>
<代码>formoutputpage.php:
<?
echo $_POST[ greeting ];
echo " ".$_POST[ name ];
echo "!";
?>