Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php iterate through array

$arr = ['Item 1', 'Item 2', 'Item 3'];

foreach ($arr as $item) {
  var_dump($item);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #iterate #array
ADD COMMENT
Topic
Name
4+1 =