Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Dylan Lopez
Added: Apr 6, 2018 5:13 AM
Views: 9
Tags: insert record
  1. $data = array(
  2.         'title' => $title,
  3.         'name' => $name,
  4.         'date' => $date
  5. );
  6.  
  7. $this->db->insert('mytable', $data);