Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php iterate array keys

foreach ($arr as $key => $value) {
    echo "{$key} => {$value} ";
    print_r($arr);
}
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #iterate #array #keys
ADD COMMENT
Topic
Name
3+2 =