Welcome, Guest
Username: Password: Remember me

TOPIC: How are the answers stored after posting a form for a question group?

How are the answers stored after posting a form for a question group? 3 months 4 weeks ago #110401

  • ralovera
  • ralovera's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
I would like to know where in the code are the answers being saved into the database.
The administrator has disabled public write access.

How are the answers stored after posting a form for a question group? 3 months 4 weeks ago #110416

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
Hi,

Prefix_answers
The administrator has disabled public write access.

How are the answers stored after posting a form for a question group? 3 months 4 weeks ago #110420

  • ralovera
  • ralovera's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Hi,

Do you mean {table prefix}_answers? I meant to ask what function is called to save the answers and what file and line is it at?

I checked out the SurveyController and the index action to see what it does with the information about the submitted form but I can't see what part in the code actually saves the answers.
Last Edit: 3 months 4 weeks ago by ralovera.
The administrator has disabled public write access.

How are the answers stored after posting a form for a question group? 3 months 4 weeks ago #110431

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
It's in em_manager_helper.php :
private function _UpdateValuesInDatabase
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.096 seconds
Donation Image