how to insert last id from crud grocery codeigniter

Solutions on MaxInterview for how to insert last id from crud grocery codeigniter by the best coders in the world

showing results for - "how to insert last id from crud grocery codeigniter"
Kaina
06 Sep 2017
1$query = $this->db->query('SELECT LAST_INSERT_ID()');
2$row = $query->row_array();
3
Rachel
02 Jan 2021
1$row['LAST_INSERT_ID()'];
2
similar questions