Answer the question
In order to leave comments, you need to log in
How to pull out the desired array?
There is an array:
$arr = array(
'1' => array(
'name' => 'example_1',
'title' => 'example 1',
'color' => '#90EE90'),
'2' => array(
'name' => 'example_2',
'title' => 'example 2',
'color' => '#87CEFA'),
'3' => array(
'name' => 'example_3',
'title' => 'example 3',
'color' => '#FA8072'));
array(
'name' => 'example_2',
'title' => 'example 2',
'color' => '#87CEFA')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question