Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (26 sloc) 690 Bytes
<TITLE>New Document</TITLE>
$con = mysql_connect("localhost","root","");
if (!$con)
die('Could not connect: ' . mysql_error());
mysql_select_db("electionid_db", $con);
$query = "SELECT application_no FROM applicant";
$acquireValues = mysql_query($query);
echo '<form action="ret1.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">
Jump to Line
Something went wrong with that request. Please try again.