Looping through array with foreach in PHP

1
2
3
foreach((array)$items as $item) {
    print $item;
  }

Leave a Reply

Your email address will not be published. Required fields are marked *