I have this form on a webpage:
<form action="action.php" method="post">
Name: <input type="text" name="name">
<input type="submit">
</form>
Why does the following code not read the name in from the querystring?
<?php
echo $name;
?>
I tried changing the form to use GET instead of POST, and even just typing it in manually into the address bar, but PHP doesn't seem to want to print out the name.
Any ideas?