0
whmcs 내부 조인 'where 조건',작성 방법 whmcs 내부 조인 '조건'
두 테이블 모두 동일한 필드가 있습니다.
어디에서 표 이름을 구별합니까? WHERE 조건이 하나의 시도
,$table = "tblclients";
$fields = "id,firstname,lastname,domain";
$where = array(
"lastname"=>array("sqltype"=>"LIKE","value"=>"Demo"),
"companyname"=>array("sqltype"=>"NEQ","value"=>""),
);
$sort = "id";
$sortorder = "ASC";
$limits = "0,5";
$join = "tblhosting ON tblhosting.userid=tblclients.id";
$result = select_query($table,$fields,$where,$sort,$sortorder,$limits,$join);
방법에 테이블 이름을 지정?