Answers for "php return array values by multiple keys"

PHP
1

php multidimensional array get all values by key

$ids = array_column($users, 'id');
Posted by: Guest on May-04-2021
0

php take out 2 level array key value

foreach($bigArray as $array){    
    foreach($array as $key=>$value){
        echo $key;
    }
}


#If if helps you give it Thumbs up
Posted by: Guest on July-20-2020

Code answers related to "php return array values by multiple keys"

Browse Popular Code Answers by Language