Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (26 sloc) 0.668 kB
<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 my_id FROM me";
$acquireValues = mysql_query($query);
echo '<form action="r1.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>
Jump to Line
Something went wrong with that request. Please try again.