Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function get_lista(){
- $this->db->select('concendente.nome as nome_concedente, aluno.nome as nome_aluno, tabela.*');
- $this->db->join('concendente', 'tabela.idconcendente=concendente.id');
- $this->db->join('aluno', 'tabela.idaluno=aluno.id');
- return $this->db->get('tabela')->result();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement