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:

Where's 3.0 Online Docs? (1999) creating a ShipCosts database (1997) multiple record replace (2001) NT vs Mac (1997) Database Options (1997) many-to-one problem (1998) RE: Cart Template (1997) Issues with the default db files ... (2003) WebCommerce: Folder organization ? (1997) how does [break] work? (1998) MacAuthorize order data fields WAS:How To question... (1997) WebCatalog/Mac 2.1b2 New Features (1997) WebCat2 beta 11 - new prefs ... (1997) Help name our technology! (1997) Skipping first item in a search (2000) Setting up shop (1997) emailer (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Re:emailer 150 (1997) [WebDNA] Search Problem (2011)