Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. function get_lista(){
  2. $this->db->select('concendente.nome as nome_concedente, aluno.nome as nome_aluno, tabela.*');
  3. $this->db->join('concendente', 'tabela.idconcendente=concendente.id');
  4. $this->db->join('aluno', 'tabela.idaluno=aluno.id');
  5. return $this->db->get('tabela')->result();
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement