get single key from multidimensional array code example Example: get specific key value from array php $ids = array_column($users, 'id');