Mega Code Archive
Categories
/
Php
/
Data Type
Key
"Columbus", "Iowa" => "Des Moines","Arizona" => "Phoenix"); echo "
Can you name the capitals of these states?
"; while($key = key($capitals)) { echo $key."
"; next($capitals); } ?>