ZF

2017-02-19 6 views
0
에 따라 SocialEngine에 두 개의 테이블을 조인하는 방법

SocialEngine에 내 코드입니다. 뭐가 문제 야?ZF

감사

답변

0

이 시도 :

$select = $this->_db->select() 
    ->from('table1',array('col1','col2'…..)) 
    ->joinInner('table2','table1.id=table2.some_id',array('col1','col3'…)) 
    ->where('where condition here') 
    ->order('column name ASC/DESC');