$result = mysql_query("SELECT * from member INNER JOIN permission ON member.member_id = permission.member_id where user='$user_login' and password='$pwd_login' and status='A' ") ;
เปลี่ยนการเขียนใหม่น่ะครับ
Code (PHP)
$sql = "SELECT * from member INNER JOIN permission ON member.member_id = permission.member_id where user='$user_login' and password='$pwd_login' and status='A'";
$result = mysql_query($sql) ;