Re: [append]
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 15883
interpreted = N
texte = >Using the append context, the first item doesn't get appended. Is there a>limit of items this will append, It didn't start occuring untill I added an>item.>Here is what I use.>>[append db=xxx.db]>>title=[title]&sku=[sku]&description=[description]&Category=[category]&taxabl>e=[taxable]&price=[price]&unitShipCost=[unitShipCost]&hasPhoto=[hasPhoto]&ph>otoName=[photoName]>[/append]Be very careful about those carriage returns in there: WebCatalog in this case thinks that you're specifying a field named
title. The correct syntax is[append db=xxx.db]title=[title]&sku=[sku]&description=[description]&Category=[category]&taxable=[taxable]&price=[price]&unitShipCost=[unitShipCost]&hasPhoto=[hasPhoto]&photoName=[photoName][/append](no carriage returns anywhere).WebCatalog never 'throws away' any characters that you might think are extraneous, such as carriage returns. The reason: you may want to put actual carriage returns into a field in your database someday, or be able to otherwise very accurately control the exact characters that get written to a file or a field.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>Using the append context, the first item doesn't get appended. Is there a>limit of items this will append, It didn't start occuring untill I added an>item.>Here is what I use.>>[append db=xxx.db]>>title=[title]&sku=[sku]&description=[description]&Category=[category]&taxabl>e=[taxable]&price=[price]&unitShipCost=[unitShipCost]&hasPhoto=[hasPhoto]&ph>otoName=[photoName]>[/append]Be very careful about those carriage returns in there: WebCatalog in this case thinks that you're specifying a field named title. The correct syntax is[append db=xxx.db]title=[title]&sku=[sku]&description=[description]&Category=[category]&taxable=[taxable]&price=[price]&unitShipCost=[unitShipCost]&hasPhoto=[hasPhoto]&photoName=[photoName][/append](no carriage returns anywhere).WebCatalog never 'throws away' any characters that you might think are extraneous, such as carriage returns. The reason: you may want to put actual carriage returns into a field in your database someday, or be able to otherwise very accurately control the exact characters that get written to a file or a field.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Grant Hulbert
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:
Loops and [index] (1998)
Version Question (2000)
problems with 2 tags (1997)
GuestBook example (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Search in 2 or more catalogs (1997)
multiple databases (1997)
[redirect] question (2005)
Safari browser and WebDNA set-cookies (2003)
listfiles shows invisible files ... (1999)
Calculating multiple shipping... (1997)
Macos8.6 to X migration problems (2000)
WebCat2 Append problem (B14Macacgi) (1997)
WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997)
Browser Reloads and AddlineItem (1997)
Which GUI HTML editors work with WC ? (1997)
E-Mailer (WebCatb15acgiMac) (1997)
listfiles-looking for slick solution (1997)
HomePage Caution (1997)
Hiding the URL(was Cart ID Duplication) (2001)