Hi,
This is one of the cases where TAL is a bit strange to work with. The
following should work even if the HTML generated is not standards compliant.
Another option (better in my opinion) would be to split the list in chunks:
ciao,
/imv
On Sat, Nov 22, 2008 at 3:24 PM, Tanax <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I'm wondering how to solve this, cause I have no idea.
>
> I'm having the php pull an array of images from the DB. Then I'm iterating
> through them with PHPTAL and writing them out in a table.
> Problem is this:
>
>
>
>
>
>
>
> src="${path}/${image/image_name}" border="0" />
>
>
>
>
>
>
>
> As you see, if there are 50 images in DB, it will echo out 50 images on 1
> row. If I instead place the repeat in the tr tag, it will echo out 1 image /
> row, on 50 rows. How could I make it write out a after say.. 6
> images? So I get 6 images per row?? Is this even possible? Cause I have no
> idea how to solve this.
>
> Thanks in advance!
> Marcus
>
> --
> Tanax
>
> ___
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>
>
___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal