variable $tablemodel
in an instance of a model which extends Zend_Db_Table_Abstract
, if i do
$tablemodel->insert($data)
to insert data. Is there any method or property to get last insert id?
regards
try
$id = $tablemodel->insert($data);
echo $id;