string(13) "2012031551539" ["recede_goods_id"]=> stri"/> string(13) "2012031551539" ["recede_goods_id"]=> stri">
Maison >développement back-end >tutoriel php > 求个数组内部组合方法解决方法
求个数组内部组合方法
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> array(1) { [0]=> array(11) { ["order_sn"]=> string(13) "2012031551539" ["recede_goods_id"]=> string(0) "" ["recede_num"]=> string(3) "2,1" ["add_time"]=> string(10) "1331799888" ["cause"]=> string(0) "" ["type"]=> string(6) "change" ["add_manager"]=> string(0) "" ["change_goods_id"]=> string(4) "29,2" ["change_goods_size"]=> array(2) { [0]=> string(1) "2" [1]=> string(1) "1" } ["change_goods"]=> array(2) { [0]=> array(3) { ["goods_name"]=> string(62) "诗瑞 SWANRING 半透条纹女士平脚裤 橘色半透条纹" ["goods_id"]=> string(1) "2" ["goods_sn"]=> string(10) "S12N605112" } [1]=> array(3) { ["goods_name"]=> string(53) "诗瑞 SWANRING 甜美女士蕾丝三角裤 粉红色" ["goods_id"]=> string(2) "29" ["goods_sn"]=> string(10) "S12N603171" } } ["change_goods_size_name"]=> array(2) { [0]=> string(1) "M" [1]=> string(1) "S" } } }
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> array(1) { [0]=> array(11) { ["order_sn"]=> string(13) "2012031551539" ["recede_goods_id"]=> string(0) "" ["recede_num"]=> string(3) "2,1" ["add_time"]=> string(10) "1331799888" ["cause"]=> string(0) "" ["type"]=> string(6) "change" ["add_manager"]=> string(0) "" ["change_goods_id"]=> string(4) "29,2" ["change_goods_size"]=> array(2) { [0]=> string(1) "2" [1]=> string(1) "1" } ["change_goods"]=> array(2) { [0]=> array(3) { ["goods_name"]=> string(62) "诗瑞 SWANRING 半透条纹女士平脚裤 橘色半透条纹" ["goods_id"]=> string(1) "2" ["goods_sn"]=> string(10) "S12N605112" ["goods_size"]=> string(1) "M" } [1]=> array(3) { ["goods_name"]=> string(53) "诗瑞 SWANRING 甜美女士蕾丝三角裤 粉红色" ["goods_id"]=> string(2) "29" ["goods_sn"]=> string(10) "S12N603171" ["goods_size"]=> string(1) "S" } } } }