Welcome Guest, Not a member yet? Register   Sign In
Primary Key question
#5

[eluser]davidbehler[/eluser]
No need for the parameter.
Just to do this immediatly after your insert:
Code:
$primary_key = $this->db->insert_id();

That's it. Of course you can call your variable whatever you want.


Messages In This Thread
Primary Key question - by El Forum - 02-25-2009, 12:47 PM
Primary Key question - by El Forum - 02-25-2009, 01:03 PM
Primary Key question - by El Forum - 02-25-2009, 01:10 PM
Primary Key question - by El Forum - 02-25-2009, 01:12 PM
Primary Key question - by El Forum - 02-25-2009, 01:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB