I made this simple php script to display an image, and its alt attribute, I simply creased an array of the building numbers and echoed an image based on what in $id (which is either 0-8 (the array key))
PHP Code:
<?php
$id 
$_GET['id'];
$maps = array (
    
1720,
    
1730,
    
1750,
    
1770,
    
1760,
    
1780,
    
1810,
    
1820,
    
1830
);
if (
id==0)
echo 
'<img src="/images/map-'.$maps[0].'.jpg" alt="La Sierra">';
elseif (
id==1)
echo 
'<img src="/images/map-'.$maps[1].'.jpg" alt="Cabrillo">';
elseif (
id==2)
echo 
'<img src="/images/map-'.$maps[2].'.jpg" alt="La Princessa">';
elseif (
id==3)
echo 
'<img src="/images/map-'.$maps[3].'.jpg" alt="Las Flores">';
elseif (
id==4)
echo 
'<img src="/images/map-'.$maps[4].'.jpg" alt="La Playa">';
elseif (
id==5)
echo 
'<img src="/images/map-'.$maps[5].'.jpg" alt="La Perla">';
elseif (
id==6)
echo 
'<img src="/images/map-'.$maps[6].'.jpg" alt="El Encanto">';
elseif (
id==5)
echo 
'<img src="/images/map-'.$maps[7].'.jpg" alt="El Mirador">';
else
echo 
'<img src="/images/map-'.$maps[8].'.jpg" alt="El Camino">';
?>
I was thinking, theres got to be a better way to do this (two dimensional arrays) to hold both the alt thing (building name) and the #..
Can you show me how to do that?

Thx.