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

#6
[eluser]whobutsb[/eluser]
Hey that worked! Thanks for the help!

Code:
$add = $this->db->insert('tblContactDetails', $data);
        $contactdetailsID = $this->db->insert_id($add);


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-2020 MyBB Group.