Re: looping table rows
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 23760
interpreted = N
texte = >Since you're in the loop context use the [index] tag and the mod function %>to solve you're problem.>[showif [math][index]%4[/math]=0]
[/showif]There is also a special funtion built into ShowIf itself that does the samething. We call it the Is Divisible By comparison:[ShowIf [index]\4] (note the backwards slash)You can see this documented in the ShowIf section of the docs.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>Since you're in the loop context use the [index] tag and the mod function %>to solve you're problem.>[showif [math][index]%4[/math]=0]
[/showif]There is also a special funtion built into ShowIf itself that does the samething. We call it the Is Divisible By comparison:[ShowIf [index]\4] (note the backwards slash)You can see this documented in the ShowIf section of the docs.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
PCS Technical Support
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
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...
Related Readings:
Major bug report on rootbeer (1997)
Lost Password? (2002)
WebDNA Developer Resource Center (2002)
Parameter Passing Value (2002)
Formulas.db (1997)
Username for Admin Group (1997)
Deleting Orders (1998)
Almost a there but..bye bye NetCloak (1997)
[CART] inside a [LOOP] (1997)
Graphic Design Freelancer Looking for Work (2002)
Re:listfiles-looking for slick solution (1997)
expired beta (1997)
[WebDNA] listfiles problem (2011)
2.0 Info (1997)
Calculating multiple shipping... (1997)
PSC recommends what date format yr 2000??? (1997)
Add more fields to an existent data base (1997)
Error, 101 a DNS problem ? (1997)
WebCatalog for Postcards ? (1997)
[delete] problem (1997)