lostnucleus 0 Posted May 11, 2010 Share Posted May 11, 2010 Well i did $row = $myTb->createRow(); $row->name = 'foo'; $row->email ='some@gmail.com'; $row->save(); The row gets inserted into the database , how can i get the value of last insert primary key id of that row ?? Thanks in Advance. Link to post Share on other sites
lostnucleus 0 Posted May 11, 2010 Author Share Posted May 11, 2010 solution primary key was nt set to autoincrement. Link to post Share on other sites
Recommended Posts
Archived
This topic is now archived and is closed to further replies.