Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created August 7, 2019 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/f87ce3905a523db92b94fd3f7a829202 to your computer and use it in GitHub Desktop.
Save parzibyte/f87ce3905a523db92b94fd3f7a829202 to your computer and use it in GitHub Desktop.
<?php
$this->db
->select("tabla1.campo, tabla1.otroCampo, tabla2.unCampo")
->from("tabla1")
->join("tabla2", "tabla1.idTabla2 = tabla2.id")
->limit(15, 10)
->get()
->result();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment