Answers for "how to loop through each element in array php"

PHP
1

php loop through array

$letters = ['a','b','c'];
foreach ($letters as $item) {
  echo $item;
}
Posted by: Guest on October-01-2020

Code answers related to "how to loop through each element in array php"

Browse Popular Code Answers by Language