- This topic has 8 replies, 2 voices, and was last updated 2 years, 1 month ago by .
-
Topic
-
We have a following code part:
https://ghostbin.com/paste/55sv6
When the page is saved, answer field is not always saved into database. DB records looks like this:
a:5:{i:0;a:2:{s:8:"question";s:10:"Question 1";s:6:"answer";s:8:"Answer 1";}i:1;a:2:{s:8:"question";s:10:"Question 2";s:6:"answer";s:8:"Answer 2";}i:2;a:2:{s:8:"question";s:10:"Question 3";s:6:"answer";s:8:"Answer 3";}i:3;a:1:{s:8:"question";s:10:"Question 4";}i:4;a:1:{s:8:"question";s:10:"Question 5";}}
It most cases it happens with the row number equal greater than 4.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.