hope someone can help with echo only "title_2 with books1,..." from multiple titles in $categories array
example arrays:
$categories= array(
'title_1' => "Books",
"books1" => array( "Books1", "set1", "type"),
"books2" => array( "books2", "set1", "type"),
"books3" => array( "books3", "set5", "type"),
'title_2' => "Books_2",
"books1" => array( "Books1", "set1", "type"),
"books2" => array( "books2", "set1", "type"),
"books3" => array( "books3", "set5", "type"),
'title_3' => "Books_3",
"books1" => array( "Books1", "set1", "type"),
"books2" => array( "books2", "set1", "type"),
"books3" => array( "books3", "set5", "type"),
,....
);
Thanks