I am trying to make a site that has 5 movie characters and when you select one from the select box and hit submit, it will direct you to another page that shows their real name.
I need help with the .php and having it show their real name after you hit submit.
Here is my code so far:
page.1
<form action="page2.php" method="post">
<select name="" title="">
<option value="0">--</option>
<option value="1">Name1</option>
<option value="2">Name2</option>
<option value="3">Name3</option>
<option value="4">Name4</option>
<option value="5">Name5</option>
</form>
</select> Select an option.
<br />
<input type="submit" id="" value="Look up Name" title="" />
Page2
<h3>The real name is:</h3>
<?php
$name = $_GET['value'];
print "<p>$name</p>";
?>