Re: 2cd pare of eyes.

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39394
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.NOTE: [text][name]=NL[/text] is a valid construction, as in this example it becomes... [text]SKU=NL[/text]So when he references [SKU] outside of the founditems context he has it.Donovan, I don't see any syntax errors, their might be some logic errors, what are you trying to do (with context)?-Sam> >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/ ------------------------------------------------------------- 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.NOTE: [text][name]=NL[/text] is a valid construction, as in this example it becomes... [text]SKU=NL[/text]So when he references [SKU] outside of the founditems context he has it.Donovan, I don't see any syntax errors, their might be some logic errors, what are you trying to do (with context)?-Sam> >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/ ------------------------------------------------------------- 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/ Samuel Renkert

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:

Error: Can't open order file. Ignoring [OrderFile] context (2000) WebCat & WebTen (1997) Sending Email (2004) A multi-processor savvy WebCatalog? (1997) [TaxableTotal] - not working with AOL and IE (1997) PCS Frames (1997) no global [username] or [password] displayed ... (1997) Re:emailer 150 (1997) Emailer (WebCat2) (1997) any ideas on why DOC can't execute an executable? (1998) WebCat2 Append problem (B14Macacgi) (1997) quantity minimum problem (1997) [Semi-OT] Eaaaaaasy OSX FTP (2003) WebDNA 6.0a for Apache 2.2.4 (2007) Text vs. Math (2000) displaying New products (using [date]) (1997) Quit revisited (1997) [taxRate] [TaxTotal] ? (1997) WebCat3.04/w*4/OS8.5.1 and aliases (1999) Help formatting search results w/ table (1997)