Re: replace using &append=T
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 68370
interpreted = N
texte = sbraun wrote:> > Hi All,> > Can someone please help me with getting a replace to work with the > &append=T inside of a loop.> Sometimes my 'bunch of code' will have the [my_var] result in a new > number, and then I wish to append.> Sometimes my 'bunch of code' will have the [my_var] result in a used > number, and then I wish to 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]> > > Thanks for any assistance,> sfbYou need to initialize "[my_var]"[text]my_var=0[/text][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]Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/ Web Sites:> http://www.euca.us & http://www.egg.bz =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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:
sbraun wrote:> > Hi All,> > Can someone please help me with getting a replace to work with the > &append=T inside of a loop.> Sometimes my 'bunch of code' will have the [my_var] result in a new > number, and then I wish to append.> Sometimes my 'bunch of code' will have the [my_var] result in a used > number, and then I wish to 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]> > > Thanks for any assistance,> sfbYou need to initialize "[my_var]"[text]my_var=0[/text][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]Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/ Web Sites:> http://www.euca.us & http://www.egg.bz =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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/
Donovan Brooke
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:
OT: Limit on # of Pulldown entries (1997)
summ=T (2003)
Emailer help....! (1997)
RE: date (1998)
For those of you not on the WebCatalog Beta... (1997)
using showpage and showcart commands (1996)
Heads up, cookies *may* be outlawed in Europe (2001)
Re:Formulas.db / Quantity Discount problem (1998)
searchable list archive (1997)
Cart Question (1998)
Show shoppingcart after remove last item (1997)
[WebDNA] v7 Stress Test and Strange Behaviour (2012)
Banner Ad (1998)
Ampersand (1997)
Include a big block of text (1997)
headers (2000)
IE Cookies problem (2001)
Trouble with Netscape (1998)
[WebDNA] Windows Share (2011)
[WebDNA] error on mirror site (2015)