if ($user_login=="" or $pass_login==""){
echo "<h3>ERROR : กรุณากรอกข้อมูลให้ครบน่ะค่ะ</h3>";exit();
}
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();