Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- defined('BASEPATH') OR exit('No direct script access allowed');
- class Mymodel extends CI_Model{
- public function GetMahasiswa(){
- $data = $this->db->query("SELECT * FROM mahasiswa");
- return $data->result_array();
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement