Your IP : 216.73.216.40


Current Path : /var/www/html/mmishra/indem/pks-ec/medical/
Upload File :
Current File : /var/www/html/mmishra/indem/pks-ec/medical/summary.php

<center><table><tr><td colspan=2 align=center><h2>Indian Institute of Information Technology Allahabad</h2></td></tr>
<tr><td width=20% align=center><img src="logo.gif" width="75" height="78" /></td>
    <td width=80% align=center>
	(A University under Section 3 0f UGC Act 1956)<br>
        A Centre of Excellence in Information  Technology, Estd. By Min. of HRD, Govt. of India,  New Delhi<br>
        Devghat Jhalwa, Allahabad &ndash;  211012, U.P. (INDIA)<br>
        Ph: 0532-2922025,2922067 Fax: 0532-2922081 <br>
        Web: <a href="http://www.iiita.ac.in/">www.iiita.ac.in</a> Email: 
    </td></tr>
</table>
<?php
include "javafunctions.inc";
include "functions.inc";
dbConnect();

$tbl = 'insurance';

$sno = 0;
echo " 
<table border=1>
	<tr><td><b>Sr No.</b></td>
	<td><b>App. ID</b></td>
	<td><b>Enroll No.</b></td>
	<td><b>Program</b></td>
	<td><b>Full Name</b></td>
	<td><b>Father Name</b></td>
	<td><b>Address</b></td>
	</tr>";

	$rs = mysql_query("select * from $tbl order by enrollno");
	if ($rs) {
		while ($o = mysql_fetch_object($rs)){
		
		$sno = $sno + 1;
	
		$id = $o->id;
		$enrollNo = $o->enrollNo;
		$program = $o->program;
		$fullname = $o->fullname;
		$dob = $o->dob;
		$gender = $o->gender;
		$nationality = $o->nationality;
		$category = $o->category;
		$fathername = $o->fathername;
		$address = $o->address;
		$state = $o->state;
		$pincode = $o->pincode;
		$phone = $o->phone;
		$email = $o->email;

	echo "<tr>
		<td>".$sno."</td>
		<td>".$id."</td>
		<td>".$enrollNo."</td>
		<td>".ucwords($program)."</td>
		<td>".ucwords($fullname)."</td>
		<td>".ucwords($fathername)."</td>
		<td>".ucwords($address)."</td>
     	     </tr>
	";
}}
echo "
 </table>
";
?>