Get array index

Posted 1 year ago by vandyczech

I have this arrays ... how can I get the index of array when the name equal with array key name ..

 0 => array
 "name" => "A"
 ]

 1 => array
 "name" => "B"
 ]

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.