Re: Bizarre behavior texta behavior
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 59105
interpreted = N
texte = Bob Minor wrote:> I am writing data from a shoppingcart into a database. In my deployed > site it works fine in my dev site it is dropping the [texta] field and > only the texta field. [textb] etc all work fine. Here is the code > snippet it is exactly duplicate on both sites.> > [lineitems]> [append db=databases/ > orderitems.db]oid=[neworderid]&oidi=[neworderid]_[lineindex]&oin=[linein > dex]&title=[textA]&quantity=[quantity]&sku=[sku]&price=[price]&taxable=[ > taxable]&canEmail=[canEmail]&unitshipCost=[unitshipCost]&textA=[textA]&t > extB=[textB]&textC=[textC]&textD=[textD]&textE=[textE]&orddate=[math]{[d > ate]}[/math]&ordtime=[math]{[time]}[/ > math]&ordatetime=[math]({[date]}*86400)+{[time]}[/math][/append]> [/lineitems]> > I look at the shopping cart just prior to posting this and I textA is > populated, weird thing is it only happens when there is a quote in the > texta field ie texta="Property Of" T-Shirt. I look at it in the > completed orders folder and its empty> > If I take the "'s out then it works fine. I tested this several times. > This is on a windows box running IIS and version 4.5. I tried grepping > out the "'s but no luck the shopping cart ignores any of my attempts to > change the texta field from what is in the database.Hi Bob, I always URL my variables going into a database unless I knowthat the characters contain only acceptable characters (aA-zZ & 0-9).Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Bob Minor wrote:> I am writing data from a shoppingcart into a database. In my deployed > site it works fine in my dev site it is dropping the [texta] field and > only the texta field. [textb] etc all work fine. Here is the code > snippet it is exactly duplicate on both sites.> > [lineitems]> [append db=databases/ > orderitems.db]oid=[neworderid]&oidi=[neworderid]_[lineindex]&oin=[linein > dex]&title=[textA]&quantity=[quantity]&sku=[sku]&price=[price]&taxable=[ > taxable]&canEmail=[canEmail]&unitshipCost=[unitshipCost]&textA=[textA]&t > extB=[textB]&textC=[textC]&textD=[textD]&textE=[textE]&orddate=[math]{[d > ate]}[/math]&ordtime=[math]{[time]}[/ > math]&ordatetime=[math]({[date]}*86400)+{[time]}[/math][/append]> [/lineitems]> > I look at the shopping cart just prior to posting this and I textA is > populated, weird thing is it only happens when there is a quote in the > texta field ie texta="Property Of" T-Shirt. I look at it in the > completed orders folder and its empty> > If I take the "'s out then it works fine. I tested this several times. > This is on a windows box running IIS and version 4.5. I tried grepping > out the "'s but no luck the shopping cart ignores any of my attempts to > change the texta field from what is in the database.Hi Bob, I always URL my variables going into a database unless I knowthat the characters contain only acceptable characters (aA-zZ & 0-9).Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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://webdna.smithmicro.com/
Donovan Brooke
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:
I'm new (2001)
2nd WebCatalog2 Feature Request (1996)
Re: (1997)
greater than or equal to (1997)
OT (maybe) Setting up local (non internet) test computers (2000)
Re:quit command on NT (1997)
a search based on ^(contains) (1998)
need some help with tcpsend (2000)
Check boxes (1997)
Using WC for Bulk Emailings (1997)
REPOST: How do _you_ back up your db? (2000)
More help for discount pricing (1998)
RE: Automatic thumbnail images (1998)
Can you do this??? and other stuff (1997)
Possible Bug 4.51 (2004)
Download URL & access on the fly ? (1997)
SKU lookup (1997)
Performance Issue (2000)
bug in [SendMail] (1997)
[WebDNA] [middle] << assistance need (2016)