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][showif [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:

    
  1. Re: If statement troubles (Claude Gelinas 2002)
  2. Re: If statement troubles (Gary Krockover 2002)
  3. If statement troubles (Claude Gelinas 2002)
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][showif [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:

WebCatalog 2.0 & WebDNA docs in HTML ... (1997) about this server and links to who (1997) Test (2002) There's a bug in the math context ... (1997) log out (2001) Re:PCS Customer submissions ? (1997) Forcing Paragraph Breaks on Results (1998) question: webmerchant connection (1997) Error Lob.db records error message not name (1997) WebCat2b15MacPlugin - showing [math] (1997) Auto SKU's (2000) F3 crashing server (1997) when is date system date or order date? (1997) [subtotal] and others (1997) orderfile headers (was: 2nd Request for help/adviceonvariable pricing) (2000) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) [WebDNA] General email error -1 (WebDNA 7) (2012) shownext problems (1998) LetterRip and WebCat & more (1998) IIS4 & Password Authentication, request example (1998)