Blockquote
how to return last inserted id , if the booking id is variable character in codeigniter**
strong text
**
Blockquote
how to return last inserted id , if the booking id is variable character in codeigniter**
strong text
**
If you are using codeigniter 3 use this:
$this->db->insert_id();
If you are using codeigniter 4 use this:
$this->db->insertID();
all this should be within you model or where you called the database connect. I hope this help you else call my attentions okay?