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:
Netscape v. IE (1997)
[ShowIf] and empty fields (1997)
[WebDNA] OT: PHP on lighttpd (2013)
Emailer (1997)
Webcatalog and CyberSTUD (1998)
Multiple SSL Keys (1998)
encryption madness (2003)
[TaxableTotal] - not working with AOL and IE (1997)
WC2b15 - [HTMLx]...[/HTMLx] problems SOLVED! (1997)
Webcatalog quitting (1997)
Showif for mulitple variations (1997)
[BULK] [WebDNA] [BULK] Mac OS X LION has no FastCGI (2011)
Quotation Marks in Database (1998)
sendmail Q (2001)
WebCatalog for Dummies part 2 (2000)
all records returned. (1997)
I try hard to think positively (1998)
includes and cart numbers (1997)
Grouping items in results page (2000)
Deleting Orders (1997)