Re: [append]
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 15890
interpreted = N
texte = Makes sense..Thank'sRay-----Original Message-----From: Grant Hulbert
To: WebDNA-Talk@smithmicro.com Date: Wednesday, December 31, 1997 1:13 PMSubject: Re: [append]>Well, I added blank= to the beginning of my append and it works fine. Is>this a bug? I'm running the newest non-beta webcatalog acgi, WebTen2.0No, this is not a bug, it's what's expected to happen. If you stick a'throwaway' field in there as the first one, then all the subsequent fieldswill work fine as expected.Perhaps this will help you visualize what's going on here: in your mind,pretend there's an underscore '_' instead of a carriage return in your[append] context:[append db=xxx.db]__blank=&title=[title]&sku=[sku][/append]See how that first field is named __blank? That's what you're doing withthose carriage returns -- it thinks they're part of the fieldname. Butsince you have no field named __blank in your database, WebCatalog justignores that field and moves on to the next one, which is title. Sincethere *is* a field named title, it goes ahead and appends that informationto the database.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:
Makes sense..Thank'sRay-----Original Message-----From: Grant Hulbert To: WebDNA-Talk@smithmicro.com Date: Wednesday, December 31, 1997 1:13 PMSubject: Re: [append]>Well, I added blank= to the beginning of my append and it works fine. Is>this a bug? I'm running the newest non-beta webcatalog acgi, WebTen2.0No, this is not a bug, it's what's expected to happen. If you stick a'throwaway' field in there as the first one, then all the subsequent fieldswill work fine as expected.Perhaps this will help you visualize what's going on here: in your mind,pretend there's an underscore '_' instead of a carriage return in your[append] context:[append db=xxx.db]__blank=&title=[title]&sku=[sku][/append]See how that first field is named __blank? That's what you're doing withthose carriage returns -- it thinks they're part of the fieldname. Butsince you have no field named __blank in your database, WebCatalog justignores that field and moves on to the next one, which is title. Sincethere *is* a field named title, it goes ahead and appends that informationto the database.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/
Ray Hatch
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:
Next X hits (1996)
2 databases (1997)
WebCatalog for Postcards ? (1997)
Webcat and Sybase on OSX...anyone doing this currently? (2003)
[WebDNA] PROTECT (2017)
[WebDNA] [OT] - .php to .html redirect in .htaccess (2009)
inconsistent webcat calculation? (1997)
Multi-processor Mac info ... (1997)
Generating unique SKU from [cart] - Still Stumped... (1997)
WebCat2b12 CGI Mac - [shownext] problem (1997)
emailer (1997)
[WebDNA] Premature end of script headers: (2013)
SiteEdit NewFile.html ? (1997)
Not really WebCat- (1997)
WC1.6 to WC2 date formatting (1997)
Tables (2005)
Webcat/Webmerchant part II (1998)
Internet Explorer 6 Form problems (2005)
OT: Log Files (2003)
Files not moved to EmailCompleted (2002)