Re: ShowNext truncating passed variable??

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14990
interpreted = N
texte = >The ShowNext code that Ken passed to me works fine except when it passes a >varible called plansvar only the first word of the variable is being >passed from the ShowNext to the results.tmpl.That usually means you have to put that variable tag inside a [url] context, like this:plansvar=[url][plansvar][/url]You don't need to put it inside the [url] context when it's always going to be a single word, but if there's ever a *possibly* that your [plansvar] value will have a space in it, then you MUST wrap it in a [url] context so the space gets converted to %20 in the url.Sincerely, Ken Grome WebDNA Solutions http://www.smithmicro.com/webdnasolutions/. Associated Messages, from the most recent to the oldest:

    
  1. Re: ShowNext truncating passed variable?? (Marty Schmid 1997)
  2. Re: ShowNext truncating passed variable?? (Kenneth Grome 1997)
  3. ShowNext truncating passed variable?? (Marty Schmid 1997)
  4. Re: ShowNext truncating passed variable?? (Grant Hulbert 1997)
>The ShowNext code that Ken passed to me works fine except when it passes a >varible called plansvar only the first word of the variable is being >passed from the ShowNext to the results.tmpl.That usually means you have to put that variable tag inside a [url] context, like this:plansvar=[url][plansvar][/url]You don't need to put it inside the [url] context when it's always going to be a single word, but if there's ever a *possibly* that your [plansvar] value will have a space in it, then you MUST wrap it in a [url] context so the space gets converted to %20 in the url.Sincerely, Ken Grome WebDNA Solutions http://www.smithmicro.com/webdnasolutions/. Kenneth Grome

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:

case sensitivity in lookups (1997) Cancel Subscription (1996) Bug alert! (1997) Date question (2003) spawn (1998) SiteGaurd file Cache vs webcatalog cache (1997) [quantity] within formulas (1997) RequiredFields template (1997) Pref settings? (1998) ShowNext Command (1997) Customizing WebDelivery.html (1998) emailer w/F2 (1997) Why don't my carts expire (1998) Multiple prices (1997) listword db bolding {correction} (2002) [WebDNA] TCPConnect assist (2016) WC on Mac OS X or Mac OS X Server 2.x (2001) How To (2003) [WebDNA] MacOS 10.5 instal/config. I'm drowning. ...just needs to work for LOCAL one person (2008) upgrading (1997)