$total
is an multi dimension array:
Array (
[1] => Array ( [title] => Jake [date] => date )
[2] => Array ( [title] => John [date] => date )
[3] => Array ( [title] => Julia [date] => date )
)
How to search for [title]
value and give as result ID of an array?
If we search for Julia
it should give 3
(ID is [3]
).
Thanks.