title: Insert and update in same function for different table
body: <p>Is there any way to write a insert query and update query in same function for different tables in codeigniter.</p>
  
  <p>Mean to say i want to update a table and in same query i want to insert a response time in other table please show me way.</p>
  
  <p>Advance thanks</p>