RE: How do you get last insert id in codeigniter?

How do you get last insert id in codeigniter?

B Mathur Team Leader Asked on February 12, 2018 in CODEIGNITER.
Add Comment
2 Answers
$this->db->insert_id(); //the last records from the table
Senior Developer Answered on July 2, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.