codeigniter get id of inserted row code example
Example: codeigniter 4 query builder get inserted id
$query = $this->db->table($this->table)->insert($data);
return $query->resultID;
$query = $this->db->table($this->table)->insert($data);
return $query->resultID;