Guest User

Untitled

a guest
Nov 21st, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. <?PHP
  2. // This loops through every item in the array. It adds one onto a number every time, and when the number reaches the number of items in the array, it stops
  3. for($i = 0; $i < count($wordChunks); $i++){
  4.  
  5. // this is run for every item in the array
  6. // $i is the counter, and is used to show each array item
  7. echo "Piece $i = $wordChunks[$i] <br />";
  8.  
  9. }
  10. ?>
Add Comment
Please, Sign In to add comment