What is the best way to get a parent array with multidimensional arrays? For example, I have this array:
array( [0] => array(0=> sample, 1=>picture, 2=>frame, 3=>google) [1] => array(0=> iphone, 1=>orange, 2=>love, 3=>msn) [2] => array(0=> joe, 1=>geee, 2=>panda, 3=>yahoo) )
Now I need to look for a google example and get the parent array. which should be 0 ... any ideas? I used to loop for this, but I think it will be slow if I have arrays with 700,000 rows ..
source share