Works just great.
http://www.wildimages.biz/wi_gallery-wildlifeTEST.php
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Murray *ACE*" <forums@HAHAgreat-web-sights.com> wrote
in message
news:eqv1ql$7sc$1@forums.macromedia.com...
> That looks great. I'll give it a try!
>
> Thanks a million.
>
> --
> Murray --- ICQ 71997575
> Adobe Community Expert
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
>
http://www.dreamweavermx-templates.com
- Template Triage!
>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
> ==================
>
>
> "Gary White" <gary@apptools.com> wrote in message
> news:ca95t25aaso285pvo9qjai8lmo63hg42i3@4ax.com...
>> On Tue, 13 Feb 2007 20:17:58 -0500, "Murray *ACE*"
>> <forums@HAHAgreat-web-sights.com> wrote:
>>
>>>The problem comes when the looper terminates. I
am left with a spare
>>><ul></ul> pair. How can I manage
this?
>>
>>
>> Try something like this:
>>
>> <?php
>> $tmplt='<li><a
href="p7hg_img_1/fullsize/%s_fs.jpg">'.
>> '<img src="p7hg_img_1/thumbs/%s_tmb.jpg"
alt="Gallery: '.
>> 'Image" title="" width="100"
height="67"></a>'.
>> '<div>%s</div></li>'."\n";
>> $i=0; do {
>> if($i%5==0)
>> print "<ul>\n";
>> printf($tmplt,$row_Recordset1['imgsFilename'],
>>
$row_Recordset1['imgsFilename'],$row_Recordset1['imgsCaption']);
>> $i++;
>> if($i%5==0)
>> print "</ul>\n";
>> } while ($row_Recordset1 =
mysql_fetch_assoc($Recordset1));
>> if($i%5!=0)
>> print "</ul>\n";
>> ?>
>>
>> Gary
>
>