The value of \$counter is $counter
"; $counter = $counter + 1; } #----------------- # The foreach Loop #----------------- /* A great way to move through array data. */ $myarray = array("coffee","PHP","interwebz"); foreach($myarray as $value){ print "this value is $value.