if($user_login=="" or $pass_login=="")
{
echo"<h3>ERROR : กรุณากรอกข้อมูลให้ครบครับ</h3>";exit();
}
include"connect.php";
$sql="select * from employee where username_em='$user_login' and password_em='$pass_login'";
$result=mysql_db_query($dbname,$sql);
$num=mysql_num_rows($result);