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:

How does WebCatalog search the database? (1997) Comparing two fields so the match (1998) [ShowNext] feature in 2.0 (1997) File Upload (1997) 2.1b3 --> way slow (1997) extending webcatalog (1997) WebCatalog for guestbook ? (1997) Parameter vs. Operator (1998) suffix mapping for NT? (1997) Error message (1999) Webcat Manual and TeaRoom Examples Uses Different Examples. (1997) RE: [sendmail]- bcc? (1998) Help name our technology! (1997) Setting up shop (1997) [WebDNA] Code works in v6 but not in v7 (2010) WCS Newbie question (1997) [WriteFile] problems (1997) Trouble with formula.db + more explanation (1997) range searching (1998) frames & carts (1997)