form.submit(); } </script> <!--Allows changing what planet is being viewed--> <select name="planet" onchange="javascript: setPID()" id="planet" value="type"> <?php echo \planets::generatePlanetOptions(); ?> </select> <?php if ($pid != '') { echo "<br/><br/>"; echo \planets::dispTerrMapWithDeposits($pid); echo "<br/><br/>"; echo \planets::dispHTMLMapWithDeposits($pid); echo "<br/><br/>"; ?> <!--Form for submitting new deposits--> <form method="POST" action="index.php?mode=submit"> <table> <tr> <td>Name:</td><td><input type="hidden" name="pid" value="<?php echo $pid; ?> "/><input type="text" name="who" size="50"/></td> </tr> <tr> <td>Choose mat type:</td> <td> <select name="mat" id="planet" value="type">