I have the following PHP script. This is a image gallery and I'd like to add a description for each image in the "p" tag. What is the best way to do this?
<?php
for($i=1;$i<=35;$i++)
{
echo
'<a href="images/gallery/img'.$i.'.jpg">'.
'<img src="images/thumb/img'.$i.'.jpg">'.
'<p></p>'.
'</a>';
}
?>