Loading…

How to get last inserted id in codeigniter?

You can use $lastInsertID = $this->db->insert_id(); after insert query.

Suggest An Answer

No suggestions avaliable!

Latest post from CodeIgniter Interview Questions

Ask Question