UPLOAD FILE CodeIgniter


TUtorial Upload data menggunakan CodeIgniter (File/gambar)

My_Model.php

 

<?php

Class My_model extends CI_Model{
    
     
	 function ambil_gambar($tabel){
         
        return $this->db->get($tabel);
        
    }
    
    function input_data($data,$tabel){
        
        $this->db->insert($tabel,$data);
        
    }
    
}


Tutorial terbaru Lainnya