I'm trying to print some thumbnails using PHP. The problem is that I can't get the value of $thumbPath
in the HTML. There is some little mistake that I can't see:
for($i=1;$i<19;$i++){
$thumbPath="img/theme".$i.".jpg";
$thumbId="t".$i;
echo '<li><a href="#">';
echo '<img src=$thumbPath id=$thumbId border="none"/>';
echo '</a></li>';
}