Saving data from survey-multi-choice to mySQL database #3258
Replies: 2 comments
-
What version do you use. Maybe you can add JSON.stringify in question_data and question_order :
Hope this help |
Beta Was this translation helpful? Give feedback.
-
That's an interesting solution. Thanks. I managed to solve it in the php file that does the prepared staement. ` $sql = "INSERT INTO $table VALUES("; for($i = 0; $i < count($col_names); $i++){
} ` This seems to work. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
Since I had lots of problems with saving CSV files, I am trying to save data in a mySQL database via php.
That works, however, for responses from survey-multi-choice, the response is an array,
and I only get the response "ARRAY" in my database.
(response is varchar length 1000 in the mySQL database)
I couldn't find anything, and since the options are so many
I am not sure which route to take.
Kind regards,
Holger
Beta Was this translation helpful? Give feedback.
All reactions