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>
and this is the formoutputpage.php:
<?
echo $_POST['greeting'];
echo " ".$_POST['name'];
echo "!";
?>
I think this code is OK. Check whether there is any error which is not displayed.
So insert this code top of formoutputpage.php that exactly display all errors.
And check short tag is allowed.
<?=><?phpParse error may not be displayed depending on your configration.