I'm not sure if this can be done just in php, but I am trying to use a dropdown form to allow the user to select one of multiple scripts to run. Here is a simple example (it does not run because it isn't processing the "scriptSelect" variable properly. Can someone please point me in the right direction?
<html>
<body>
<form name="gateway" action= "scriptSelect" method="POST">
<fieldset>
<th>Select Script:
<select name="scriptSelect" >
<option value="">Please make a selection</option>
<option value="scripta.php">scripta.php</option>
<option value="scriptb.php">scriptb.php</option>
</th>
<td><input name="update" type="submit" value="Submit"></td>
<td><input name="resetForm" id="resetForm" type="reset" value="Reset Form"></td>
</fieldset></form>
</body>
</html>
P.S. I am open to other solutions to this but I'm kinda new so I'm trying to keep it simple