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:

Incrementing a number (1998) PCS Frames (1997) sort problems....bug or brain fart? (1997) PSC recommends what date format yr 2000??? (1997) File Upload (1997) Goodbyes (2007) can WC render sites out? (1997) Database not found in Include (2002) portal (2002) [WebDNA] [OT] - One Man. One Road. (2009) Help! WebCat2 bug (1997) Search and Show question (2003) relogin same user? (1998) format rounding?! (2001) Emailer (1997) Major Security Hole (1998) Re:PCS Customer submissions ? (1997) FlushDatabase Suggestion (1998) Error Template (1999) [WebDNA] How to go into old WebCatalog? (2009)