Guest User

Untitled

a guest
Nov 24th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.41 KB | None | 0 0
  1. function upload ()
  2.     {      
  3.            
  4.        
  5.         if ($this->input->post('upload'))
  6.        
  7.         {
  8.         $pilih  = $this->input->post('pilih');
  9.         $gambar = $this->input->post('upload');
  10.         $this->admin_model->upload_images($pilih);
  11.         }
  12.    
  13.     $data['images'] = $this->admin_model->sh_image();  
  14.     $data['notif_pesan']    = $this->admin_model->notif_pesan();
  15.     $data['title'] = "IMAGES GALLERY"; 
  16.     $this->load->view('admin/upload',$data);
  17.    
  18.     }
Add Comment
Please, Sign In to add comment