我试图加入3个或更多表,但其结果只显示在前两个表中。请帮忙。
public function normal(){
$this->db->select('*');
$this->db->from('disease_db');
$this->db->join('suggestion_db', ' suggestion_db.did=disease_db.id');
$this->db->join('hospital_db', ' hospital_db.special_in=disease_db.id ');
$this->db->where('disease_db.id',1);
$result= $this->db->get();
print_r ($result->result_array());