Your IP : 216.73.216.40


Current Path : /var/www/html/mmishra/istore/
Upload File :
Current File : /var/www/html/mmishra/istore/hr_emp.inc

<h3>Employee Record</h3>

<?php

$tbl = 'employees';

$rs = mysql_query("select * from $tbl");
while ($o = mysql_fetch_object($rs)) {
	$empno = $o->emp_no;
	$empname = $o->emp_name;
	$emp = explode(" ",$empname);
	$designation = $o->designation;
	$contact = $o->contact;
	$email = $o->email;
	$bloodgroup = $o->blood_group;

	//echo "$empname,$empno,$emp[0],$emp[1],$emp[2],$designation,$contact,$email<br>";
	echo "$empno,$emp[0],$emp[1],$emp[2],$designation,$contact,$email<br>";
}
?>