<?php
include("connection.php");
include("frames_header.php");
?>


<h2><strong><em>Delete a species.</em></strong> </h2>
<center>
<form target="_blank" action="delete-species2.php" method="post" name="formulaire">
<table width="99%" border="0" cellspacing="0" background="pictures/barre.jpg">
			<tr bgcolor="#990000">
      	<td></td><td></td><td></td><td align="right" background="pictures/barre-red.jpg"><em><strong>Delete a species from ANISEED</strong></em></td>
			</tr><tr>
        <td align="right"><br><br><br><strong>Species to delete : </strong></td>
        <td align="left"><br><br><br>
        	<select name="species" size="1">
			    <option selected></option>
        	<?php
              $requete="select \"NAME\" from \"SPECIES\" ";
              $stmt0 = pg_query($c,$requete) or die("<strong>Error</strong> ".pg_last_error($c));
              while($row0=pg_fetch_array($stmt0))
              {
              	$species=$row0["NAME"];
								echo "<option value=\"$species\">$species</option>";
			  }
			?>
           </select>
		</td>
      </tr><tr>
      	<td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td align="right">
        	<br><br>
        	<input name="submit" type="image" src="pictures/button-submit.jpg" onClick="submit">&nbsp;&nbsp;&nbsp;
        	<br>
        </td>
      </tr>
    </table>
	</form>
</center>
<?php
    include("frames_footer.php");
?> 


