Re: What's wrong with this?

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62299
interpreted = N
texte = Joe D'Andrea wrote: > [text show=f]myURL=[AD_WEBLINK][/text] > [if (("[AD_WEBLINK]" ^ "http") | ("[AD_WEBLINK]" ^ "mailto"))] > [then][!]do nothing[/!][/then] > [else][text show=f]myURL=http://[myURL][/text][/else] > [/if] > > If [AD_WEBLINK] is certain to only contain alphanumerics and a >period or two and possibly one an only one @ in the case of a mailto... >then why does this comparison always execute the "else" clause? >I'm sure it's something simple that is staring me right in the face. Looks good to me Joe, **if the URL is safe**.. wouldn't hurt to use the [url][/url] tags. Spaces and your "()" should be fine IMHO. Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Euca Design Center <-Web Development (specializing in eCommerce), -> <- Graphic Design, Custom Tags and Labels -> ADDRESS:> Donovan Brooke DBA Euca Design Center 1871 HWY MM Fitchburg, WI 53575 PH:> 1.608.835.2476 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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: What's wrong with this? ( Donovan Brooke 2005)
  2. Re: What's wrong with this? ( Stuart Tremain 2005)
  3. Re: What's wrong with this? ( Stuart Tremain 2005)
  4. What's wrong with this? ( Joe D'Andrea 2005)
Joe D'Andrea wrote: > [text show=f]myURL=[AD_WEBLINK][/text] > [if (("[AD_WEBLINK]" ^ "http") | ("[AD_WEBLINK]" ^ "mailto"))] > [then][!]do nothing[/!][/then] > [else][text show=f]myURL=http://[myURL][/text][/else] > [/if] > > If [AD_WEBLINK] is certain to only contain alphanumerics and a >period or two and possibly one an only one @ in the case of a mailto... >then why does this comparison always execute the "else" clause? >I'm sure it's something simple that is staring me right in the face. Looks good to me Joe, **if the URL is safe**.. wouldn't hurt to use the [url][/url] tags. Spaces and your "()" should be fine IMHO. Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Euca Design Center <-Web Development (specializing in eCommerce), -> <- Graphic Design, Custom Tags and Labels -> ADDRESS:> Donovan Brooke DBA Euca Design Center 1871 HWY MM Fitchburg, WI 53575 PH:> 1.608.835.2476 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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/ Donovan Brooke

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:

[WebDNA] trouble with [url] encoding??? (2014) Calculating multiple shipping... (1997) IE problems persist (2004) Problem with summary on date / inconsequent webcat behaviour (1998) Summing fields (1997) Include vs. lookup? (1998) Nested [tags] (2001) WebCatalog f2 Installation (1997) serial number generation (1997) two of the same named db's open at once (1998) Progress !! WAS: Trouble with formula.db (1997) Date stamp and purging (1998) ShipCosts database (1997) bug in wn searching NT version? (1997) Multiple prices (1997) (1997) WebCatalog NT beta 18 problem (1997) Shopping Cart ID (1998) Permission denied? (2004) Problems with SELECT MULTIPLE (1999)