• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
getting id of just inserted record??? [solved]

#1
[eluser]mk3[/eluser]
Have a subtle question about codeigniters db class. I need to get id number after insertion. when saying id I mean Index with autoincrement. is this posible to do without queries?


$this->db->insert();
and now I need to get index of inserted entry.

[edit]found solution only 5 threads below take a look here:Thread.[edit]

Sorry for this my post


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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