Re: Math Help
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 32520
interpreted = N
texte = [Math][/math] is for variables that you intend to use for mathematical calculations. I have no idea what will happen with the SKU string thatyou have; nothing good, I'm sure. I am not even sure what you aretryingto accomplish with [mysku], [url], and [getchars].Try [text show=f]mysku=[sku][/text] if all you want to do is to save thesku value, but I don't even see a need for that in your code below.Maybe if you told us what you were trying to do, or why you went thisroute, we could help you more.John PeacockJohn 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> > TIA,> > John Davies> jd@professionalideas.com> _____________________________________________> Martin Associates> http://www.professionalideas.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:
[math][/math] is for variables that you intend to use for mathematical calculations. I have no idea what will happen with the SKU string thatyou have; nothing good, I'm sure. I am not even sure what you aretryingto accomplish with [mysku], [url], and [getchars].Try [text show=f]mysku=[sku][/text] if all you want to do is to save thesku value, but I don't even see a need for that in your code below.Maybe if you told us what you were trying to do, or why you went thisroute, we could help you more.John PeacockJohn 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> > TIA,> > John Davies> jd@professionalideas.com> _____________________________________________> Martin Associates> http://www.professionalideas.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 Peacock
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:
Summary search -- speed (1997)
Prices Dropped (1998)
Forcing a NEWCART (1997)
Parse question (2005)
expired beta (1997)
Problems with [Applescript] (1997)
Configuring E-mail (1997)
For those of you not on the WebCatalog Beta... (1997)
[WebDNA] Old Problem, the exclamation point (2014)
Can't find templaes (1997)
Nested vs conditional (1997)
Webcat & SIMS (1998)
WebCatalog 2.0 & WebDNA docs in HTML ... (1997)
[writefile] (1997)
[ShowIf] and empty fields (1997)
I can help! (1996)
Date problems-more (1997)
Shopping carts and reloading pages (1997)
JavaScript: Select All Checkboxes (2001)
Running 2 two WebCatalog.acgi's (1996)