Your IP : 216.73.216.40


Current Path : /var/www/html/mmishra/icure/staff/
Upload File :
Current File : /var/www/html/mmishra/icure/staff/employees.php

<html>
<head>
<title>Employees List</title>
<link href='../css/style.css' rel='stylesheet' />
<script language='javascript'>
<!--
function changeparent(vlu) {
        opener.document.mm1.patid.value = vlu;
}
-->
</script>
</head>
<body>
<h3 align='left'>Employees List</h3>
<table style='font-size: x-small' border='1' width='100%'>
<tr><th>Sr</th><th>EmpNo</th><th>Employee Name</th><th>Designation</th><th>Contact</th><th>Email</th></tr>

<?php

include "../session.inc";

$tbl = 'employees';

$rs = mysql_query("select * from $tbl order by emp_name");
while ($o = mysql_fetch_object($rs)) {
	$i++;
	echo "<tr><td align='center'>$i</td>
	<td><a href=\"javascript:changeparent('".$o->emp_no."')\">$o->emp_no</a></td>
	<td>$o->emp_name</td>
 	<td>$o->designation</td>
	<td>$o->contact</td>
	<td>$o->email</td></tr>";
}
?>

</table>
</body>
</html>