title: how moodle save user quiz response in database?
body: <p>how moodle1.9 save user attempt quiz result in database and which tables are updated when any quiz has been attempted by user?</p>
  
  <p>Please guide me. </p>
  
  <p>If possible please updated me, which functions are used to insert user quiz attempted data in moodle1.9 database?</p>