I've just been learning arrays, and so far it's going well :)
This is my current PHP code:
<?php
$states = array ('MD' => 'Maryland', 'IL' => 'Illinois', 'MI' => 'Michigan');
$provinces = array ('QC' => 'Quebec', 'AB' => 'Alberta');
$abbr = array ('US' => $states, 'Canada' => $provinces);
$japanesemotors = array ('ToyotaCamry' => '<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/f/fe/2006_Toyota_Camry_%28ACV40R%29_Altise_01.jpg/800px-2006_Toyota_Camry_%28ACV40R%29_Altise_01.jpg">');
?>
<?php
echo $abbr['US']['MI']; ?>
<?
echo $abbr['Canada']['AB'];
?>
<?
echo $abbr['japanesemotors']['ToyotaCamry'];
?>
However, I can't get a newline in between the arrays, so it produces the following:
MichiganAlberta<IMAGE>
How do I get a new line to work in or in between the echo function?
Also, can you use the php include function in arrays like I used the HTML image function in my japanesemotors example above?
Thanks