Answers for "php print out key and value of an array using for loop"

PHP
5

php foreach echo key value

foreach($page as $key => $value) {
  echo "$key is at $value";
}
Posted by: Guest on September-04-2020

Code answers related to "php print out key and value of an array using for loop"

Browse Popular Code Answers by Language