二维数组筛选

Array
(

[0] => Array
    (
        [entity_ID_id] => 9
        [entity_name] => 爽味名优饮品店
        [entity_phone] => 15104673258
        [entity_ID_type] => 营业执照
        [entity_ID_images] => Array
            (
                [0] => 0f950640-6507-4e2a-81d7-4f1354d5896c_20150526T020723Z_1_720x540.jpg
            )
        [entity_ID_status] => 2
        [entity_ID_comment] => 
        [entity_ID_submit_time] => 1439439717
        [entity_ID_audit_time] => 1439566554
    )
[1] => Array
    (
        [entity_ID_id] => 10
        [entity_name] => 唇齿留香口香糖
        [entity_phone] => 15104677658
        [entity_ID_type] => 营业执照
        [entity_ID_images] => Array
            (
                [0] => 0f950640-6507-4e2a-81d7-4f1354d5896c_20150526T020723Z_1_720x540.jpg
            )
        [entity_ID_status] => 2
        [entity_ID_comment] => ada
        [entity_ID_submit_time] => 1439439720
        [entity_ID_audit_time] => 1439554261
    )
[2] => Array
    (
        [entity_ID_id] => 8
        [entity_name] => 八零后(八零后怀旧小零食)
        [entity_phone] => 15104659458
        [entity_ID_type] => 营业执照
        [entity_ID_images] => Array
            (
                [0] => 0f950640-6507-4e2a-81d7-4f1354d5896c_20150526T020723Z_1_720x540.jpg
            )
        [entity_ID_status] => 3
        [entity_ID_comment] => 阿达
        [entity_ID_submit_time] => 1439439714
        [entity_ID_audit_time] => 1439534220
    )


怎么才能更效率的把[entityIDstatus] => 2的数组取出来 再组成一个新的二维数组。

阅读 1.9k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
logo
七牛云问答
子站问答
访问
宣传栏