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:

Wanted: More Math Functions (or, Can You Solve This?) (1997) Need help... (1997) sorting question... (2001) Virtual hosting and webcatNT (1997) Sort Order on a page search (1997) includes (2003) Field name-subcategory (1997) Firesite and [referrer] atg broke (1997) ASCII Code 127 (2004) Does anyone have a TCPconnect that does multiple sends... (2000) Webmerch Error (1998) Cart -> Date and Time (2004) The IBC root beer has arrived! (1997) SQLCONNECT (2005) Forbidden CGI Error (1997) More on the email templates (1997) Country & Ship-to address & other fields ? (1997) WebCat2: Items xx to xx shown, etc. (1997) How to Display text in empty fields (1997) Single Link browsing (1997)