Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

Organizational Research By

Surprising Reserch Topic

using array intersect on a multi dimensional array using -'php,arrays,multidimensional-array,array-intersect'


using array intersect on a multi dimensional array  using -'php,arrays,multidimensional-array,array-intersect'

I have two arrays that both look like this:

Array
(
    [0] => Array
        (
            [name] => STRING
            [value] => STRING
        )

    [1] => Array
        (
            [name] => STRING
            [value] => STRING
        )

    [2] => Array
        (
            [name] => STRING
            [value] => STRING
        )
)


and I would like to be able to replicate array_intersect by comparing the ID of the sub arrays within the two master arrays.  So far, I haven't been successful in my attempts.  :(
    

asked Sep 8, 2015 by rajesh
0 votes
9 views



Related Hot Questions



Government Jobs Opening


...