Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-23-2007, 11:30 AM
Junior Member
 
Join Date: Sep 2007
Posts: 4
Default ID of the inserted row

Hello,

I need to get the id of the object inserted. How can I get it?

Thanks in advantage
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-23-2007, 02:45 PM
Junior Member
 
Join Date: Sep 2007
Posts: 4
Default

OK, I'll answer myself!

The last_id is returned by the Zend_Db_Table::insert

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:08 AM.