Ok heres my problem. In php forms i know how to use $_POST but i dont know how to get farther than that and select the options from my form.
Here is my script you will notice that is submits the information to forest.php but i can't even print out the option data. Because if someone would select continue i would like it to print a different response than it would if you selected back. Does anybody know how to do this?
<?
session_start();
?>
<? print "Hello $user_name! Welcome to the forest!<br>
Many monsters live here so choose now to continue or turn back";
?>
<html>
<head>
<title>Forest Entrance</title>
</head>
<body>
<form name="frontforest" method="post" action="forest.php">
<p> </p>
<p>
<select name=frontforest[]>
<option value="continue">Continue</option>
<option value="back">Back to town</option>
</select>
</p>
<p>
<input type="submit" name="Submit" value="Submit">
</p>
</form>
</body>
</html>