if ($user_login=="" or $pass_login=="") {
echo "<h3>กรอกข้อมูลไม่ครบ<h3>";
exit();
}
else{
include "connect.php";
$sql="select * from tb_member where username='$user_login' and password='$pass_login'";
$result=mysql_db_query ($dbname,$sql);
$num=mysql_num_rows ($result);
mysql_close ();