Excuse me
Array
(
[after_one] => Array
(
[0] => 124124
[1] => 2342
)
[task_one] => Array
(
[0] => 124
[1] => 41234234
)
[time_one] => Array
(
[0] => 2017-05-19
[1] => 2017-05-19
)
[complete_one] => Array
(
[0] => 完成途中
[1] => 未完成
)
[score_one] => Array
(
[0] => 2
[1] => 2
)
[reason_one] => Array
(
[0] => 124124
[1] => 124124
)
[next_one] => Array
(
[0] => 412412
)
[task_two] => Array
(
[0] => 12412
)
[time_two] => Array
(
[0] => 2017-05-13
)
[result_two] => Array
(
[0] => 124124
)
[reason_two] => Array
(
[0] => 1231234
)
)
How to insert this into the database? How to cycle? Here are two pieces of data [0] one [1] one, please help me, thank you
Sorry, please add the database structure now
id after_one task_one time_one complete_one score_one reason_one next_one task_two time_two result_two reason_two
These are field names. Now according to this, there should be two pieces of data. How to insert them into the database?
json_encode()
Isn’t this possible?
Just cycle through it yourself.
.............
What is the table structure? How to save?