> | > [showif [index]\4]
> > | > >
<table width=3D"100%" border=3D"0&=quot; align=3D"center">
[Search db=3Dadmin/kp.db&eqACTIVEdatarq=3DYes] [showif [index]\4]</tr><tr>[/showif]
[founditems]
<tr>
<td align=3D"center" width=3D"200">
<img src=3D"images/middle/[thumbnail]" border=3D"1&q=uot;>
</td>
[/founditems]
[/search]
</table>
This is the easiest solution as it will simply make your rows 4 columns wid=e each time.
HTH
AJ> ------------------------------
> On Jun 13, 2018, at 9:27 AM, Richard Kwasniewski <richiekwas@gmail.com> wrote:
>
> I searched in the talklist archives, actually found entries and exampl=es on what might be part of the solution back in 2011 and similar years, bu=t for some reason, all the code is either jumbled or non-existent.
>
> After a search, I need to populate a table and have a maximum of 4 tab=le cells per row
>
> If the search returns 6 items, I need to add a second row.
>
> [showif [index]\4]
> seems to be part of the answer, but that's where I stopped seeing =code examples in the old archives
>
> This is my table/search code so far stripped down to the very basics.<=br>>
> <table width=3D"100%" border=3D"0" align=3D&quo=t;center">
> [Search db=3Dadmin/kp.db&eqACTIVEdatarq=3DYes]
> [founditems]
> <tr>
> <td align=3D"center" width=3D"200">
> <img src=3D"images/middle/[thumbnail]" border=3D&quo=t;1">
> </td>
> </tr>
> [/founditems]
> [/search]
> </table>
>
>
> What was I missing in those talklist entries???
>
>
>-----------------------=---- This message is sent to you because you are subscribed to the mailing =list talk@webdna.us To unsubscribe, E=-mail to: talk-leave@webdna.us =archives: http://www.webdna.us/page.dna? numero=3D55 Bug Reporting: support@webdna.us=
---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list talk@webdna.us
To unsubscribe, E-mail to: talk-lea=ve@webdna.us
archives: http://www.webdna.us/page.dna?numero=3D55
Bug Reporting: support@webdna.us
|
> | > [showif [index]\4]
> > | > >
<table width=3D"100%" border=3D"0&=quot; align=3D"center">
[Search db=3Dadmin/kp.db&eqACTIVEdatarq=3DYes] [showif [index]\4]</tr><tr>[/showif]
[founditems]
<tr>
<td align=3D"center" width=3D"200">
<img src=3D"images/middle/[thumbnail]" border=3D"1&q=uot;>
</td>
[/founditems]
[/search]
</table>
This is the easiest solution as it will simply make your rows 4 columns wid=e each time.
HTH
AJ> ------------------------------
> On Jun 13, 2018, at 9:27 AM, Richard Kwasniewski <richiekwas@gmail.com> wrote:
>
> I searched in the talklist archives, actually found entries and exampl=es on what might be part of the solution back in 2011 and similar years, bu=t for some reason, all the code is either jumbled or non-existent.
>
> After a search, I need to populate a table and have a maximum of 4 tab=le cells per row
>
> If the search returns 6 items, I need to add a second row.
>
> [showif [index]\4]
> seems to be part of the answer, but that's where I stopped seeing =code examples in the old archives
>
> This is my table/search code so far stripped down to the very basics.<=br>>
> <table width=3D"100%" border=3D"0" align=3D&quo=t;center">
> [Search db=3Dadmin/kp.db&eqACTIVEdatarq=3DYes]
> [founditems]
> <tr>
> <td align=3D"center" width=3D"200">
> <img src=3D"images/middle/[thumbnail]" border=3D&quo=t;1">
> </td>
> </tr>
> [/founditems]
> [/search]
> </table>
>
>
> What was I missing in those talklist entries???
>
>
>-----------------------=---- This message is sent to you because you are subscribed to the mailing =list talk@webdna.us To unsubscribe, E=-mail to: talk-leave@webdna.us =archives: http://www.webdna.us/page.dna? numero=3D55 Bug Reporting: support@webdna.us=
---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list talk@webdna.us
To unsubscribe, E-mail to: talk-lea=ve@webdna.us
archives: http://www.webdna.us/page.dna?numero=3D55
Bug Reporting: support@webdna.us
DOWNLOAD WEBDNA NOW!
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...