Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function daftar_sk_all(){
- $sql = "SELECT * FROM data_sk";
- $data = $this->db->query($sql)->result();
- $record = array();
- foreach($data as $r){
- $record[$r->id_surat] = $r->judul;
- }
- return $record;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement