![]() |
getting id of just inserted record??? [solved] - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: getting id of just inserted record??? [solved] (/showthread.php?tid=3724) |
getting id of just inserted record??? [solved] - El Forum - 10-18-2007 [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 |