Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (26 sloc) 684 Bytes
<HTML>
<HEAD>
<TITLE>New Document</TITLE>
</HEAD>
<BODY>
<?php
$con = mysql_connect("localhost","root","");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("openspace", $con);
$query = "SELECT e_id FROM education_work_info";
$acquireValues = mysql_query($query);
echo '<form action="r5.php" method="POST" >
<select name="application_no" size="1">';
while($values = mysql_fetch_array($acquireValues))
{
echo '<option value="'.$values[0].'" >'.$values[0].'</option>';
}
echo '</select>
<input type="Submit" value="submit">
</form>'
?>
</BODY>
</HTML>