codehaven - php snippets - coding help
Generic filters
Exact matches only

Sort multi-dimensional array by specific key

7th January 2015

Php - Arrays

php codehaven

This is an array that looks for the first array and in that array has an element called ‘name’

For a simpler version (notice the array number [0] is missing now)

Was this code snippet helpful?