the line
[php] echo "
"; [/php]
displays and links the picture.
over here you need to make sure $TBL and $Picture that are used are changed everytime. otherwise it will just display the same link/picture each time.
inside the for loop, have something like:-
$TBL = $i;
$Picture = $i.".jpg";
modify the above statements to suit your needs.
jayant
Junior Poster in Training
95 posts since Nov 2003
Reputation Points: 46
Solved Threads: 1