Ok so im using PHP 5, seems like older versions use different terms so hopefully theres people out there who use 5. Anyways I'm having basic trouble of passing values to a page.I want to use one page. For example
<html>
<head>
<title>pass</title>
</head>
<body>
<form method="POST">
<?
global $guess;
print "The guess is $guess";
print <<<HERE
Enter number: <input type ="text" name="$guess"></input><p>
<input type="submit" value="Click"></input>
HERE;
?>
</form>
</body>
</html>
It doesn't work. I want it so when you type in a number in the textbox it prints out that number when you click submit. Any ideas? Thanks