Re: 2cd pare of eyes.

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39393
interpreted = N
texte = [text][name]=NL[/text] should be [text]name=NL[/text] This is reserved, however so you'd best not use name perhaps. Never use formvariables myself.At 06:33 PM 10/15/01, you wrote: >Hello, >can someone review this code and see if they can find any bad syntax? > >[showif [qo]=update] >[!]to decide if the items listed are ready to add to the cart[/!] > [formvariables name=SKU&exact=F] > [hideif [url][value][/url]=] > [text]valid=no[/text] > [search db=admin/products.db&neSKUdatarq=[blank]] > [founditems] > [showif [url][value][/url]=[SKU]] > [text]valid=yes[/text] > [text]theSKU=[SKU][/text] > [/showif] > [/founditems] > [showif [numfound]=0] > [text][name]=NL[/text] > [/showif] > [/search] > [showif [valid]=yes] >[!]verifies if item is already in cart[/!] > [orderfile cart=[cart]] > [lineitems] > [showif [theSKU]=[SKU]] > [text]incart=T[/text] > [/showif] > [hideif [incart]=T] > [text]shop=put[/text] > [/hideif] > [/lineitems] > [/orderfile] >[!]this adds the item[/!] > [showif [shop]=put] > [addlineitem > cart=[cart]&db=admin/products.db&sku=[url][theSKU][/url]][/addlineitem] > [/showif] > [/showif] > [/hideif] > [/formvariables] >[/showif] > > >-- Donovan D. Brooke >Systems Administrator/ >Assc. Art Director >Epsen Hillmer Graphics > >I know I'm making progress when I look at the questions I have >asked in the past and think to myself... how stupid was that > > >------------------------------------------------------------- >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/ ------------------------------------------------------------- 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: 2cd pare of eyes. (Donovan Brooke 2001)
  2. Re: 2cd pare of eyes. (Donovan Brooke 2001)
  3. Re: 2cd pare of eyes. (Gene Beljaeff 2001)
  4. Re: 2cd pare of eyes. (Donovan Brooke 2001)
  5. Re: 2cd pare of eyes. (Samuel Renkert 2001)
  6. Re: 2cd pare of eyes. (Jeroen de Wijn 2001)
  7. 2cd pare of eyes. (Donovan Brooke 2001)
[text][name]=NL[/text] should be [text]name=NL[/text] This is reserved, however so you'd best not use name perhaps. Never use formvariables myself.At 06:33 PM 10/15/01, you wrote: >Hello, >can someone review this code and see if they can find any bad syntax? > >[showif [qo]=update] >[!]to decide if the items listed are ready to add to the cart[/!] > [formvariables name=SKU&exact=F] > [hideif [url][value][/url]=] > [text]valid=no[/text] > [search db=admin/products.db&neSKUdatarq=[blank]] > [founditems] > [showif [url][value][/url]=[SKU]] > [text]valid=yes[/text] > [text]theSKU=[SKU][/text] > [/showif] > [/founditems] > [showif [numfound]=0] > [text][name]=NL[/text] > [/showif] > [/search] > [showif [valid]=yes] >[!]verifies if item is already in cart[/!] > [orderfile cart=[cart]] > [lineitems] > [showif [theSKU]=[SKU]] > [text]incart=T[/text] > [/showif] > [hideif [incart]=T] > [text]shop=put[/text] > [/hideif] > [/lineitems] > [/orderfile] >[!]this adds the item[/!] > [showif [shop]=put] > [addlineitem > cart=[cart]&db=admin/products.db&sku=[url][theSKU][/url]][/addlineitem] > [/showif] > [/showif] > [/hideif] > [/formvariables] >[/showif] > > >-- Donovan D. Brooke >Systems Administrator/ >Assc. Art Director >Epsen Hillmer Graphics > >I know I'm making progress when I look at the questions I have >asked in the past and think to myself... how stupid was that > > >------------------------------------------------------------- >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/ ------------------------------------------------------------- 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/ Jeroen de Wijn

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:

Running 2 two WebCatalog.acgi's (1996) More questions about serial number dishing (1997) Sale on wholesale programming services ... (2006) Web Logs (1998) inside out... how much? (2004) Editing Users.db (1997) Re:Non-technical messages ... (1997) Shownext problems (1999) Replace context problem ... (1997) Ampersand is breaking search context (1999) Re:mac hack (1997) Shipping charges depending on tax rate? (1997) [OT] : Chat Room on OSX (2003) OT: SSL Certs (2005) Search in 2 or more catalogs (1997) [WebDNA] reverse rank=off (2008) Fwd: Protect Tag and Groups (1998) [WebDNA] Encrypt / Decrypt weirdness..... plus some date weirdness (2015) Running _every_ page through WebCat ? (1997) order in the search? (2003)