Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.47 KB | None | 0 0
  1. <?php
  2.  
  3. class CalcController extends Controller
  4. {
  5.         function index()
  6.         {  
  7.                 $this->load('db');
  8.                 $this->db->insert(array(
  9.                         'test'  => array(
  10.                                 'wooot' => 'testing: ' . time(),
  11.                         ),  
  12.                         'test'  => array(
  13.                                 'wooot' => 'testing again: ' . time(),
  14.                         ),  
  15.                 ));
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement