Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

codeigniter return last inserted id

   $this->db->insert('posts', $post_data);
   $insert_id = $this->db->insert_id();
   return  $insert_id;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #codeigniter #return #inserted #id
ADD COMMENT
Topic
Name
1+9 =