I am new to Codeigniter..
So this is my table:
request_id | login_name | login_password | reg_date | status
Can I use $this->db->insert_id() to get last inserted id if the primary auto increment column name is request_id instead of id?
Any help will be appreciated..
Yes,
insert_idin MySQLi does not care about the column name, just that the column is AUTO_INCREMENT. It returns;