Every FAQ and documentation says that PHP automatically remembers a form field, so, if you create code like this,
<form>
<select name="test">
<option value="a" SELECTED>a
<option value="b">b
<option value="c">c
</select>
<?php echo $test;?>
</form>
The echo statement should return a. Right? Instead, on my server, it returns a undefined variable notice.
What am I doing wrong?
Thanks, guys.