novalsmith

percobaan

Jul 27th, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.32 KB | None | 0 0
  1. <?php
  2.  
  3. if (!defined('BASEPATH'))
  4.     exit('No direct script access allowed');
  5.  
  6. class Percobaan extends CI_Controller
  7. {
  8.     function __construct()
  9.     {
  10.         parent::__construct();
  11.        
  12.     }
  13.  
  14.     public function add_tambah()
  15.     {
  16. $data['isi'] = 'ini adalah halama';
  17. $this->load->view('form',$data);
  18. }
  19.  
  20. }
Advertisement
Add Comment
Please, Sign In to add comment