Re: Math Help

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 32522
interpreted = N
texte = I am guessing it works as the [text] and not the math because of the minus signs in the sku.Thanks again. John Davies jd@professionalideas.com _____________________________________________ Martin Associates http://www.professionalideas.com > From: Maurice Rickard > Reply-To: (WebCatalog Talk) > Date: Wed, 31 May 2000 15:26:23 > To: (WebCatalog Talk) > Subject: Re: Math Help > > Why are you doing it as a math variable? I would have done it as > > [text]mysku=[url][getchars start=1&end=7][sku][/getchars][/url][/text] > > which would then enable you to call it later in the template as [mysku]. > > > > At 2:21 PM 5/31/00, John Davies wrote: >> Anybody have any ideas why this won't return the variable [mysku]? >> >> (sku = LT-03-S3) >> >> [math]mysku=[url][getchars start=1&end=7][sku][/getchars][/url][/math] >> [sku] >> [showif [process]=add] >> [addlineitem >> cart=[cart]&sku=[url][sku][/url]&db=../pages/maflaps.db]quantity=[quantity]& >> texta=[description][/addlineitem] >> [setheader cart=[cart]]shipcost=5.95[/setheader] >> [/showif] >> mysku=[url][getchars start=1&end=7][sku][/getchars][/url], [mysku], [sku] >> >> >> Results = LT-03-S3 , mysku=LT-03-S, [mysku], LT-03-S3 >> Expected Results = LT-03-S3 , mysku=LT-03-S, LT-03-S, LT-03-S3 >> > -- > Maurice Rickard > http://GreenMarketplace.com/ Natural products for you and your planet. > > ------------------------------------------------------------- > 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: Math Help (Kenneth Grome 2000)
  2. Re: Math Help (John Davies 2000)
  3. Re: Math Help (John Davies 2000)
  4. Re: Math Help (John Peacock 2000)
  5. Re: Math Help (Charles Kline 2000)
  6. Re: Math Help (Anup Setty 2000)
  7. Re: Math Help (Maurice Rickard 2000)
  8. Math Help (John Davies 2000)
I am guessing it works as the [text] and not the math because of the minus signs in the sku.Thanks again. John Davies jd@professionalideas.com _____________________________________________ Martin Associates http://www.professionalideas.com > From: Maurice Rickard > Reply-To: (WebCatalog Talk) > Date: Wed, 31 May 2000 15:26:23 > To: (WebCatalog Talk) > Subject: Re: Math Help > > Why are you doing it as a math variable? I would have done it as > > [text]mysku=[url][getchars start=1&end=7][sku][/getchars][/url][/text] > > which would then enable you to call it later in the template as [mysku]. > > > > At 2:21 PM 5/31/00, John Davies wrote: >> Anybody have any ideas why this won't return the variable [mysku]? >> >> (sku = LT-03-S3) >> >> [math]mysku=[url][getchars start=1&end=7][sku][/getchars][/url][/math] >> [sku] >> [showif [process]=add] >> [addlineitem >> cart=[cart]&sku=[url][sku][/url]&db=../pages/maflaps.db]quantity=[quantity]& >> texta=[description][/addlineitem] >> [setheader cart=[cart]]shipcost=5.95[/setheader] >> [/showif] >> mysku=[url][getchars start=1&end=7][sku][/getchars][/url], [mysku], [sku] >> >> >> Results = LT-03-S3 , mysku=LT-03-S, [mysku], LT-03-S3 >> Expected Results = LT-03-S3 , mysku=LT-03-S, LT-03-S, LT-03-S3 >> > -- > Maurice Rickard > http://GreenMarketplace.com/ Natural products for you and your planet. > > ------------------------------------------------------------- > 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/ John Davies

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:

encrypt (2000) General WebCatalog Questions (1997) Nested tags count question (1997) 2nd WebCatalog2 Feature Request (1996) Any one heard from SM since that last email? (2006) Showing unopened cart (1997) Search design (1997) [HIDEIF] inside [FOUNDITEM] (1997) Fwd: checkboxes (2000) Formulas.db not working (2006) SEARCH Peram (2003) Limitations on fields? Server is crashing (1997) Upgrading old WebCat Database Files (1997) Overridding E-Mailer (1998) Multiple catalog databases and showcart (1997) WebDNA 5 & iTools 7 (2003) Further on formula.db failure to calculate shipCost (1997) Gathering the values of matching fields in a database. (1998) Problems when user hit back (2000) [Off] Netscape Display Problem (1998)