如何合并存储在一个变量中的多个单独的数组,这些数组本身不包含在数组中?该变量$unique_answer_title
包含这些单独的数组,但是,我试图将它们的所有元素组合成一个大的数值数组。当我使用时array_merge($unique_answer_title)
,没有返回任何内容。以下是变量中包含的数据..
array(4) {
[0]=> string(9) "Immediate"
[1]=> string(3) "Yes"
[2]=> string(29) "Have a representative call me"
[3]=> string(109) "Biomek<sup><em>‡‡</em></sup> FX<sup>P</sup> Workstation"
}
array(8) {
[0]=> string(9) "Immediate"
[1]=> string(3) "Yes"
[2]=> string(29) "Have a representative call me"
[3]=> string(109) "Biomek<sup><em>‡‡</em></sup> FX<sup>P</sup> Workstation"
[4]=> string(9) "Immediate"
[5]=> string(2) "No"
[6]=> string(29) "Have a representative call me"
[7]=> string(111) "Biomek<sup><em>‡‡</em></sup> NX<sup>P</sup> Workstation "
}
array(12) {
[0]=> string(9) "Immediate"
[1]=> string(3) "Yes"
[2]=> string(29) "Have a representative call me"
[3]=> string(109) "Biomek<sup><em>‡‡</em></sup> FX<sup>P</sup> Workstation"
[4]=> string(9) "Immediate"
[5]=> string(2) "No"
[6]=> string(29) "Have a representative call me"
[7]=> string(111) "Biomek<sup><em>‡‡</em></sup> NX<sup>P</sup> Workstation "
[8]=> string(20) "Greater than 3 years"
[9]=> string(3) "Yes"
[10]=> string(42) "Have a representative contact me via email"
[11]=> string(109) "Biomek<sup><em>‡‡</em></sup> FX<sup>P</sup> Workstation"
}