Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Default query database
- $this->db->select('first_name, last_name');
- $this->db->from('tbl_users');
- $this->db->where('id', 99);
- $query = $this->db->get();
- // Query dari database kedua
- $db2->select('image');
- $db2->from('tbl_images');
- $db2->where('id', 25);
- $query = $db2->get();
Add Comment
Please, Sign In to add comment