• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Returning Inserted Primary ID

#2
[eluser]rico moorman[/eluser]
You could simply try the following of course:

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

just after the insert

The driver for mssql should handle the insertion id retrieval


Messages In This Thread
Returning Inserted Primary ID - by El Forum - 12-11-2008, 01:34 PM
Returning Inserted Primary ID - by El Forum - 12-11-2008, 01:56 PM
Returning Inserted Primary ID - by El Forum - 12-11-2008, 01:58 PM
Returning Inserted Primary ID - by El Forum - 12-11-2008, 02:09 PM
Returning Inserted Primary ID - by El Forum - 12-11-2008, 02:33 PM
Returning Inserted Primary ID - by El Forum - 12-11-2008, 02:46 PM
Returning Inserted Primary ID - by El Forum - 12-11-2008, 09:46 PM
Returning Inserted Primary ID - by El Forum - 12-11-2008, 10:05 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.