Welcome Guest, Not a member yet? Register   Sign In
Question about ActiveRecords - mysql_insert_id()
#2

[eluser]mddd[/eluser]
Yes this is the same because CodeIgniter uses the mysql functions in the background.
Besides, the Mysql server will not give you an id that was inserted for another connection than your own.
So you can safely use this. It will never give you 'some one else's' id.


Messages In This Thread
Question about ActiveRecords - mysql_insert_id() - by El Forum - 08-09-2010, 03:17 AM
Question about ActiveRecords - mysql_insert_id() - by El Forum - 08-09-2010, 04:23 AM
Question about ActiveRecords - mysql_insert_id() - by El Forum - 08-09-2010, 04:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB