Loop Statement – foreach

The foreach loop is mostly used to parse through an array that for every loop, the value of the current array content/value is assigned to the $value (after which the array pointer increments by a factor of one) then the next loop results in the next array content/value. Syntax: foreach (array as value) { code [...]


Parse error: syntax error, unexpected T_STRING in /home/spm011/public_html/phpprogrammingguide/wp-content/themes/basic-concept-10/footer.php on line 8