REPLACE problem

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34059
interpreted = N
texte = I have the following code that sorts works, but sorta doesn't. If I try to use it to change the content of the field name [commonname], it replaces the thext I enter with [__commonname]. I mean it literally places [__commonname] into the databse. Not good.Mac OS WC4Any tips, hints, advise, or money will be gratefully accepted.Glenn---------------------------------------------------------------------------- Product Detail for [SKU] [include file=../POLHeader.inc]

[search db=../pol.db&eqskudata=[url][sku][/url]] [founditems]
[Name]
[showif [hasPhoto]=T][/showif][ showif [hasPhoto]!T] [/showif]

[showif [hasPhoto]=T]Photo Name: [photoname][/showif]

Common Name:
SKU # [sku]
Grower: [grower]
Hardiness Zone:
Care:
Shipping Size:
Price:
Taxable:
Availability:
(As Per Grower)
Remaining in Inventory:
(Availability - Sales)
Shipping Restricted:
Cannot Ship To: [cannotshipto]
Description:
[/founditems] [/search]
[replace db=../pol.db&eqSKUdatarq=[url][sku][/url]]commonname=[url][__commonname][/url][/ replace] [commitdatabase db=../pol.db]
Back
------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: REPLACE problem (John Butler 2000)
  2. Re: REPLACE problem (WebDNA Support 2000)
  3. Re: REPLACE problem (Glenn Busbin 2000)
  4. Re: REPLACE problem (Glenn Busbin 2000)
  5. Re: REPLACE problem (WebDNA Support 2000)
  6. REPLACE problem (Glenn Busbin 2000)
  7. Re: replace problem (Kenneth Grome 1999)
  8. Re: replace problem (listas 1999)
  9. Re: replace problem (Kenneth Grome 1999)
  10. Re: replace problem (listas 1999)
  11. Re: replace problem (Will Starck 1999)
  12. Re: replace problem (listas 1999)
  13. Re: replace problem (Will Starck 1999)
  14. replace problem (listas 1999)
I have the following code that sorts works, but sorta doesn't. If I try to use it to change the content of the field name [commonname], it replaces the thext I enter with [__commonname]. I mean it literally places [__commonname] into the databse. Not good.Mac OS WC4Any tips, hints, advise, or money will be gratefully accepted.Glenn---------------------------------------------------------------------------- Product Detail for [SKU] [include file=../POLHeader.inc]

[search db=../pol.db&eqskudata=[url][sku][/url]] [founditems]
[Name]
[showif [hasPhoto]=T][platform]]/WebCatalog/Art/[/showif]../ImageShed/[PhotoName]>[/showif][ showif [hasPhoto]!T] [/showif]

[showif [hasPhoto]=T]Photo Name: [photoname][/showif]

Common Name: [input][commonname][/input] size=30>
SKU # [sku]
Grower: [grower]
Hardiness Zone:
Care:
Shipping Size:[input][size][/input] size=15>
Price: [input][price][/input] size=8>
Taxable:
Availability:[input][availability][/input] size=5>
(As Per Grower)
Remaining in Inventory: [input][Inv][/input] size=5>
(Availability - Sales)
Shipping Restricted:
Cannot Ship To: [cannotshipto] [input][cannotshipto][/input] size=30>
Description:
[/founditems] [/search]
[replace db=../pol.db&eqSKUdatarq=[url][sku][/url]]commonname=[url][__commonname][/url][/ replace] [commitdatabase db=../pol.db]
[referrer]>Back
------------------------------------------------------------- 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://search.smithmicro.com/ Glenn Busbin

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:

Interpreting WebDNA tags (2004) executing via commandline (2003) hideif [x]=1,2,3.. (2003) stripping extra spaces from form fields (2000) Using files in an Email broadcast (1999) Verifying both name and password (was: THANKS) (1997) WebCatalog for UNIX Released ( was How true is this? ) (1999) Posting form data to a popup (2004) Sorting problem (2002) WebCat 4.0 & WebMerchant (2000) really annoying feature (2001) WebCat2b12 CGI Mac -- Problems propagating the cart through (1997) RE: [taxRate] [TaxTotal] ? (1997) Search Question (1998) RE: error count with $purchase (1997) [WebDNA] Help with ReplaceFoundItems (2009) Webcatalog, Webstar and Crasharama (1999) WYSIWYG Editor? (2006) OT: MacAuthorize (2001) Almost a there but..bye bye NetCloak (1997)