$sql = "select user.*, appv_m.*, egdacc.* ,member.*,level.*,jonelist.*,bankname.bankpic FROM member,appv_m,edgacc,level,bankname,jonelist
INNER JOIN appv_m ON member.pstatus = appv_m.pstatus
INNER JOIN edgacc ON member.member_id = edgacc.member_id
INNER JOIN bankname ON jonelist.bankid=bankname.bankid
INNER JOIN level ON member.lid=level.lid
LEFT JOIN jonelist ON member.idcard=jonelist.jidcard
";
$result = mysql_query($sql) ;
mysql_select_db($db) ;
$result = mysql_query("select * from appv_m,edgacc,level,jonelist,bankname,member
WHERE member.idcard = '$strKeyword'
AND member.pstatus=appv_m.pstatus
AND member.member_id = edgacc.member_id
AND jonelist.jidcard=member.idcard
AND jonelist.bankid=bankname.bankid
AND level.lid=member.lid
AND jonelist.jidcard = member.idcard
") or die ("Error database Inner input") ;
$dbarr = mysql_fetch_array($result) ;