Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (29 sloc) 940 Bytes
<TITLE>New Document</TITLE>
<style type="text/css">
div {text-align:right;}
<?php // Connects to your Database
mysql_connect("localhost", "root", "") or die(mysql_error());
mysql_select_db("openspace") or die(mysql_error());
$data = mysql_query("SELECT * FROM me WHERE my_id='$usn'") or die(mysql_error());
Print "<table border=1 cellpadding=3 cellspacing=5>";
Print "<caption>Details</caption>";
while($info = mysql_fetch_array( $data ))
{ Print "<tr style=background-color:silver>";
Print "<td colspan=8>Appilcation Number: ".$info['application_no'] . "</td> ";
Print "<td>my_id: ".$info['my_id'] . " </td>";
Print "<td>First Name:".$info['first_name'] . "</td> ";
Print "<td>Last Name:".$info['last_name'] . " </td>";
Print "<td>initials:".$info['initials'] . "</td>
</tr>"; }
Print "</table>";
Jump to Line
Something went wrong with that request. Please try again.