Re: If statement troubles
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 46056
interpreted = N
texte = You're right, it works now ; )On Friday, December 6, 2002, at 03:14 PM, Gary Krockover wrote:> 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]

[L]=En]Happy> | Holidays![/showif][showif [L]=Fr]Joyeuses Fêtes![/showif]> | width=285 height=125 border=0>[/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/>-------------------------------------------------------------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:
You're right, it works now ; )On Friday, December 6, 2002, at 03:14 PM, Gary Krockover wrote:> 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]
[L]=En]Happy> | Holidays![/showif][showif [L]=Fr]Joyeuses Fêtes![/showif]> | width=285 height=125 border=0>[/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/>-------------------------------------------------------------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/
Claude Gelinas
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:
problem serving foreign languages text (1997)
WebCat2b15MacPlugin - [protect] (1997)
WebCatalog/WebMerchant Manuals Available (1998)
WebCat & Liststar ... & Rumpus, too! (1997)
European Convention (2004)
Updating checkboxes made easy !!! (1998)
ampersand in a sendmail body (2007)
About WebDNA (2006)
Multiple Newcarts (1996)
billing system (2003)
Date search - yes or no (1997)
Date Formats (1997)
WebCatalog Eating 200% of the CPU (2002)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
Weird problems with [SHOWIF]s (1997)
Listserver problem (1997)
Weird Math and SV (1997)
Multiple security dbs (1997)
Multiple SSL Keys (1998)
Repeating Fields (1997)