Re: replace using &append=T

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 68373
interpreted = N
texte = Note that there is no need to use a [search]...[founditems] context when using [replace]. The replace feature *is* a search already, and thus needs no surrounding search at all. Just get rid of the search and founditems in your code and you will find that the replace works just as well, and is faster. See the documentation at [Replace] > [loop start=0&end=6&advance=1] > .....bunch of code....... > [search db=hours.2007.db&geSKUdatarq=1][founditems] > [replace > db=hours.2007.db&geSKUdatarq=1&append=t]&SKU=[url][my_var][/url].....more.......[/replace] > > [/founditems] > [/search] > [text]my_var=[math][my_var]+1[/math][/text] > [/loop] ------------------------------------------------------------- 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: replace using &append=T ( Donovan Brooke 2007)
  2. Re: replace using &append=T ( Terry Wilson 2007)
  3. Re: replace using &append=T ( Grant Hulbert 2007)
  4. Re: replace using &append=T ( sbraun 2007)
  5. Re: replace using &append=T ( Donovan Brooke 2007)
  6. Re: replace using &append=T ( Donovan Brooke 2007)
  7. Re: replace using &append=T ( matthew.bohne@benetela.com 2007)
  8. replace using &append=T ( sbraun 2007)
Note that there is no need to use a [search]...[founditems] context when using [replace]. The replace feature *is* a search already, and thus needs no surrounding search at all. Just get rid of the search and founditems in your code and you will find that the replace works just as well, and is faster. See the documentation at [replace] > [loop start=0&end=6&advance=1] > .....bunch of code....... > [search db=hours.2007.db&geSKUdatarq=1][founditems] > [replace > db=hours.2007.db&geSKUdatarq=1&append=t]&SKU=[url][my_var][/url].....more.......[/replace] > > [/founditems] > [/search] > [text]my_var=[math][my_var]+1[/math][/text] > [/loop] ------------------------------------------------------------- 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/ Grant Hulbert

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:

forms and variables (1998) can WC render sites out? (1997) Re:HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) Bug Report, maybe (1997) WebTV (1998) $Replace with [founditems] (1997) Reversed words (1997) 100 + Users updating database (2002) WebCatalog Mac 2.1b3 (1997) WebMerchant 1.6 and SHTML (1997) Emailer setup (1997) Netscape v. IE (1997) Extended [ConvertChars] (1997) [WebDNA] Server load (2008) WebCat2.0 acgi vs plugin (1997) Crashing Server (2000) [WebDNA] Error 500 with SUMM=T (2017) expire headers in mac305b11 (1999) webcat2b12 CGI -- Date comparisons (1997) DNS Lookup 2 (2000)