Welcome Guest, Not a member yet? Register   Sign In
CI MySQLI Stored Procedure with Last Insert ID as output
#2

So, a couple things...

First, this is CI4 support and you're using $this->db-> syntax, so what version are you using/trying to get help for?

Second, that seems like an overly complicated way to do what you're trying to do, why not use the query builder(https://codeigniter.com/user_guide/datab...ilder.html) and then call $this->db->insert_id()?

https://codeigniter.com/user_guide/datab...lpers.html

Lastly, if you're determined to use MySQL like this, you may find someone here that can help but, you'd probably be better served asking in a MySQL forum.
Reply


Messages In This Thread
RE: CI MySQLI Stored Procedure with Last Insert ID as output - by enlivenapp - 01-15-2018, 07:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB