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:

FoundItems Question (1998) Feature Request (2003) MacActivity and PCS (1997) [WebDNA] naming math vars in v.7 (2010) taxRate is fine but taxTotal isn't (1997) credit card authorization question (1997) Append again (1999) Database Crash (2001) Multiple Pulldowns (1997) customizing the color of user's pages (1997) Ads.db (1997) Conveting Characters to Graphics (1997) Wanted: More Math Functions (or, Can You Solve This?) (1997) Running 2 two WebCatalog.acgi's (1996) [ModDate] & [ModTime] ? (1997) RE: PIXO support (1997) Typhoon Rev. and PCS store problems (1999) Ship Cost Not working (2000) Confusing [protect] (long) (1999) Interpret twice? (1997)