Welcome Guest, Not a member yet? Register   Sign In
how to get last insert id
#6

(12-27-2019, 12:08 AM)imam Wrote:
(12-26-2019, 09:55 AM)InsiteFX Wrote:
PHP Code:
$lastInsertID $db->insertID(); 

Thank you let me try,  Smile


Solved

Code:
$this->resp_json['id'] = $emp_model->getInsertID();

Thank you All
Reply


Messages In This Thread
how to get last insert id - by imam - 12-25-2019, 02:50 AM
RE: how to get last insert id - by dannyweb - 12-25-2019, 06:09 PM
RE: how to get last insert id - by InsiteFX - 12-26-2019, 09:55 AM
RE: how to get last insert id - by imam - 12-27-2019, 12:08 AM
RE: how to get last insert id - by imam - 12-31-2019, 06:51 PM
RE: how to get last insert id - by maulahaz - 12-26-2019, 10:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB