Code: Select all
<?php
$date = '11.27.07';
$test = '<a class="entry" href="#"><img src="/htdocs/Images/Portfolio/<?php print($date)?>.F0<?php print($count)?>.jpg" width="60" height="45" border="0"/><span><img src="/htdocs/Images/Portfolio/<?php print($date)?>.F0<?php print($count)?>.jpg" border="0"/><br /></span></a><br />';
for($count=1; $count<=8; $count++) {
echo ($test);
}
?>Example: 11.27.07.F01.jpg, 11.27.07.F02.jpg, 11.27.07.F03.jpg.....and so on.
Any ideas on how to structure this code? Thanks.