Changes

Jump to: navigation, search

PHP Arrays

19 bytes added, 19:41, 11 May 2009
Looping through PHP Array Elements
For associative arrays the foreach keyword allows you to iterate through both the keys and the values using the following syntax:
foreach ($arrayName as $variablekeyVariable=>$valueVariable)
For example:

Navigation menu