I am very new to Zend. I have a Books model object that extends
Zend_Db_Table. In my controller, I create a new row like this:
$t = new Books();
$row = $t->createRow();
$row->name = $form->getValue('name');
$row->save();
My table has an ID column that is the primary key and is automatically
incremented. How can I get back the ID of the row I just created and saved?
Thanks,
-J
--
View this message in context:
http://www.nabble.com/How-to-get-row-ID-back-when-using-Save-tp23782987p23782987.html
Sent from the Zend Framework mailing list archive at Nabble.com.