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:

Plugin or CGI or both (1997) Latest version? (2000) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) ftp access on Macos X (2000) Tab Charactor (1997) email error 159 (1998) Multiple Ad databases? (1997) RE: IIS4b2 and WebCatalog b19 (1997) Help name our technology! (1997) Where's Cart Created ? (1997) Maximum variable size? (2006) ShipCost formula (for weight *and* quantities)? (1998) Validation (2000) [Reload mydata.db] (1998) Database (2000) (2004) Getting total number of items ordered (1997) Sort Order on a page search (1997) CMSBuilder (2004) New Cart No. on same page (2003)