Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php get all array keys in json

foreach($json->entries as $row) {
    foreach($row as $key => $val) {
        echo $key . ': ' . $val;
        echo '<br>';
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #array #keys #json
ADD COMMENT
Topic
Name
6+9 =