Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 31 lines (30 sloc) 1.018 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
<HTML>
<HEAD>
 <TITLE>New Document</TITLE>
<style type="text/css">
<!--
div {text-align:right;}
//-->
</style>
</HEAD>
<BODY>
<?php // Connects to your Database
mysql_connect("localhost", "root", "") or die(mysql_error());
mysql_select_db("openspace") or die(mysql_error());
$usn=$_POST['e_id'];
$data = mysql_query("SELECT * FROM education_work_info WHERE e_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>High School: ".$info['high_school'] . " </td>";
   Print "<td>college:".$info['college'] . "</td> ";
   Print "<td>E ID:".$info['e_id'] . " </td>";
   Print "<td>Employer:".$info['employer'] . "</td>";
    Print "<td>Other Details:".$info['other_details'] . " </td>
</tr>"; }
   Print "</table>";
?>
</BODY>
</HTML>
Something went wrong with that request. Please try again.