I would like to search a multidimensional associative array for a specific Link value, then return a subset of all of the arrays that contain the same Category of the Link value passed to it.
How can array_search find the Link? Once I find the right Link value, how can I return just those arrays that contain the same Category as that Link? (Sample code would be very helpful as I am new to PHP.)
$aClip=array(
array(Category => "Television",
Link => "vid/01.swf",
Img => "img/25.jpg",
Title => "A Lot in Common",
),
array(Category => "Television",
Link => "vid/02.swf",
Img => "img/27.jpg",
Title => "Sizongena",
),
array(Category => "Documentaries",
Link => "vid/03.swf",
Img => "img/31.jpg",
Title => "African Roots of Jazz",
), ...
};