Re: Math Help

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 32517
interpreted = N
texte = 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/ 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)
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/ Maurice Rickard

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:

listfiles-looking for slick solution (1997) Bad URL reference? (1997) (1997) HELP!!! (1998) E-mail loop ! (1997) Realtor Search (2000) [WebDNA] anyone build scripts to interact with Facebook? (2011) Trouble with carts (2000) Attention all list readers (1997) BBEdit and WebCatalog 2.0? (1997) WC TableGrinder (1997) Linux Beta4 Problem (2000) [random] only for 1-100??? (1997) WebDNA Book? (2003) [WebDNA] Has [middle] always worked this way? (2014) redirect strangeness (2000) Server crash (1997) PDF on the fly - how to? (2005) [MATH] and Dates (1998) Showing unopened cart (1997)