Jump to content

$row->save() , now how do I get the last insert Id in Zend framework ??


Recommended Posts

Well i did


$row = $myTb->createRow();

$row->name = 'foo';

$row->email ='some@gmail.com';



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


This topic is now archived and is closed to further replies.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.