Hi friends i am working on survey i need to extract an array from an array stored inside it
如何做到这一点,就要寻找基于问题的解决办法,例如13。
i 与我有问题。 回答阵列与问题有关。
如何从主要阵列中抽取问阵列和回答阵列,其依据是问题的价值,例如13
now if i need the array which has the question id along with its associated id how to do it then from my array structure?
我的法典就是这样。
Array
(
[0] => Array
(
[que_info] => Array
(
[question_id] => 13
[description] => Overall Customer Satisfaction.
)
[answers] => Array
(
[0] => Array
(
[answer_id] => 45
[answer_text] => Very dissatisfied
)
)
)
[1] => Array
(
[que_info] => Array
(
[question_id] => 14
[description] => Progress (often referred to as Task Resolution or similar)
)
[answers] => Array
(
[0] => Array
(
[answer_id] => 52
[answer_text] => None
)
[1] => Array
(
[answer_id] => 53
[answer_text] => Very little
)
)
)
)
任何帮助都将得到赞赏: