title: Store LAST_INSERT_ID() in a transaction
body: <p>I use codeigniter's database abstarction, and im doing a transaction with it. My problem is, that i have several inserts into several tables, but i need the insert id from the first insert query. Is there any way to store the last insert id for more than one following insert?</p>
  
  <p>I don't understand why, but the ci built in function does not work. </p>