Welcome Guest, Not a member yet? Register   Sign In
CI - MySQL - Last Insert ID ?
#2

[eluser]jprateragg[/eluser]
CI has a built in function to handle this!

Code:
$this->db->insert_id();

http://ellislab.com/codeigniter/user-gui...lpers.html


Messages In This Thread
CI - MySQL - Last Insert ID ? - by El Forum - 01-07-2013, 02:48 PM
CI - MySQL - Last Insert ID ? - by El Forum - 01-07-2013, 06:48 PM
CI - MySQL - Last Insert ID ? - by El Forum - 01-07-2013, 09:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB