Welcome Guest, Not a member yet? Register   Sign In
get insert id - SOLVED - this->db->insert_id()
#1

[eluser]FuzzyJared[/eluser]
Is there a function for getting the the id of the insert that you just performed?

I am doing a multipart application, and need to get the insert id from one insert before I perform the next one.

I have looked around for this, but I am unclear if this exists within the db class or if I would have just do a sql query by hand.


Messages In This Thread
get insert id - SOLVED - this->db->insert_id() - by El Forum - 10-18-2007, 11:10 AM
get insert id - SOLVED - this->db->insert_id() - by El Forum - 10-18-2007, 11:30 AM
get insert id - SOLVED - this->db->insert_id() - by El Forum - 11-22-2009, 02:30 AM
get insert id - SOLVED - this->db->insert_id() - by El Forum - 11-22-2009, 03:32 AM
get insert id - SOLVED - this->db->insert_id() - by El Forum - 11-23-2009, 04:44 PM
get insert id - SOLVED - this->db->insert_id() - by El Forum - 04-13-2010, 07:49 AM
get insert id - SOLVED - this->db->insert_id() - by El Forum - 09-20-2010, 08:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB