Re: If statement troubles
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 46055
interpreted = N
texte = It worked for me (4.5.0 Windows), however you might want to change the [date%Y] to[date format=%Y]Also, if [L] is undefined then the alt text won't appear of course.GK| Hello Everyone,|| Could you please tell me why my code isn't working? I want to have a| holiday banner appear between two dates:|| [if (({[date]}>{12/14/[date %Y]}) & ({[date]}<{12/31/[date| %Y]}))][then]
![[showif](med/E-Holidays[L].gif)
[/then][else][/else][/if]|| Thank you,|| Claude|-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
It worked for me (4.5.0 Windows), however you might want to change the [date%Y] to[date format=%Y]Also, if [L] is undefined then the alt text won't appear of course.GK| Hello Everyone,|| Could you please tell me why my code isn't working? I want to have a| holiday banner appear between two dates:|| [if (({[date]}>{12/14/[date %Y]}) & ({[date]}<{12/31/[date| %Y]}))][then]
[/then][else][/else][/if]|| Thank you,|| Claude|-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Gary Krockover
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:
Cancel Subscription (1996)
Plugin or CGI or both (1997)
ooops...WebCatalog [FoundItems] Problem - LONG - (1997)
webcat and OS 8 (1997)
URGENT! Locked DB's (2001)
[url] (1997)
Kaaaaahhhhhhhnnnnnnn! (1997)
How do you hide [math]stuff[/math] (1997)
[WebDNA] Screen Resolution - detection & redirect (2012)
WebCat2b15MacPlugin - [protect] (1997)
Stopping bad HTML propagation ? (1997)
emailer w/F2 (1997)
Using Applescript to process WebCatalog functions (1998)
[OT] IANA Special Use (2004)
How to Display text in empty fields (1997)
using showpage and showcart commands (1996)
Mac app. that converts e-mails (2000)
ShowIf variables (1997)
HTML tags inside textarea (2000)
turning every 5th line red (1999)