Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php foreach

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

foreach ($arr as $item) {
  var_dump($item);
}
 
PREVIOUS NEXT
Tagged: #php #foreach
ADD COMMENT
Topic
Name
1+1 =