How does $this->db->insert_id() work exactly? |
[eluser]connors[/eluser]
The DB driver is using the php function mysql_insert_id which states Quote:Retrieves the ID generated for an AUTO_INCREMENT column by the previous query (usually INSERT). I'm using the insert_id() function for the same purpose as you. If you'd like a code snippet of how I'm using it, let me know ![]() |
Messages In This Thread |
How does $this->db->insert_id() work exactly? - by El Forum - 04-16-2010, 12:23 PM
How does $this->db->insert_id() work exactly? - by El Forum - 04-16-2010, 12:35 PM
How does $this->db->insert_id() work exactly? - by El Forum - 04-16-2010, 12:41 PM
How does $this->db->insert_id() work exactly? - by El Forum - 04-16-2010, 01:20 PM
How does $this->db->insert_id() work exactly? - by El Forum - 04-16-2010, 01:51 PM
|