Question : PHP simple image gallery

Hi experts, ive been working on a little piece of code that echos thumbnails from a folder on to my page.
when any of the thumbnails is clicked the coresponding image is opened in a blank page.


all i still need is to have a name under each image. ex, rabbit, turtle, horse......
im working on a 9 image example for teh time being.

Please find my code below
i dont mind filling out the names manually as variables or something.

thanx in advance
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
<div style="width:750px; position:absolute; left:50%; margin:0 0 0 -300px; height:900px;">
<?
	
for($i=1;$i<=9;$i++)
{
   echo"<div style=\"float:left;\"><a href=\"cer/$i.jpg\" target=\"blank\">
   <img style=\"border:solid 1px #cccccc; margin: 20px;\" height=\"200\" width=\"150\" src=\"cer/$i.jpg\"/><br />$i.jpg</a></div>";
}

echo"<div style=\"clear: both;\"></div>";

?>
	
</div>

Answer : PHP simple image gallery

Sorry, I thought completion should be after registry:
SELECT [dateToLandRegistry]-[dateOfCompletion] AS Expr1, [completion matters].[completion ID], [completion matters].clientName, [completion matters].completedBy, [completion matters].dateOfCompletion, [completion matters].dateToLandRegistry
FROM [completion matters]
WHERE ((([dateToLandRegistry]-[dateOfCompletion])>30));
Random Solutions  
 
programming4us programming4us