Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?PHP
- // 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
- for($i = 0; $i < count($wordChunks); $i++){
- // this is run for every item in the array
- // $i is the counter, and is used to show each array item
- echo "Piece $i = $wordChunks[$i] <br />";
- }
- ?>
Add Comment
Please, Sign In to add comment