⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

callback_insert fails in the menu edit Record



rolo2012
  • profile picture
  • Member

Posted 01 October 2012 - 16:36 PM

I use a callback_insert and insert fine but in the menu
menu edit Record or back to the list after insert the edit record has always id=1 (edit/1)
How i can fixed the callback_insert must return the id.
If this menu work with the $this->db->insert_id() the callback mst fail to return because after insert it made other operation.

victor
  • profile picture
  • Member

Posted 02 October 2012 - 08:02 AM

show your table table structure and controller code.