Artikel

Cara membuat inner join pada Code Igniter 3

function cek_data_sebelum_dihapus() {
$this->db->select('*');    
$this->db->from('table1');
$this->db->join('table2', 'table1.id = table2.id');
$this->db->join('table3', 'table1.id = table3.id');
$query = $this->db->get();
}

Leave a Comment

Your email address will not be published. Required fields are marked *