Re: [append]
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 15903
interpreted = N
texte = GrantThese kind of explanations are great. Is there any way of including moreof this kind of under the hood stuff in the documentation?Grant Hulbert wrote:> No, 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 fields will 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 with those carriage returns -- it thinks they're part of the fieldname. But since you have no field named __blank in your database, WebCatalog just ignores that field and moves on to the next one, which is title. Since there *is* a field named title, it goes ahead and appends that information to the database.> Chris GurscheEC&T Electronic Colour & Type Corp
Associated Messages, from the most recent to the oldest:
GrantThese kind of explanations are great. Is there any way of including moreof this kind of under the hood stuff in the documentation?Grant Hulbert wrote:> No, 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 fields will 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 with those carriage returns -- it thinks they're part of the fieldname. But since you have no field named __blank in your database, WebCatalog just ignores that field and moves on to the next one, which is title. Since there *is* a field named title, it goes ahead and appends that information to the database.> Chris GurscheEC&T Electronic Colour & Type Corp
Chris Gursche
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:
shipcost (1997)
Bug or syntax error on my part? (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Content-type:... (2000)
Brain Fade (2003)
Re:2nd WebCatalog2 Feature Request (1996)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Robert Minor duplicate mail (1997)
Upgrading old WebCat Database Files (1997)
[lineitems] Loop Break (2004)
Deleteing Based On Dates (2002)
passing a webdna variable into javascript/cgi (2002)
Re[2]: Hiding files/images. (2000)
Setting up shop (1997)
Download Question (1997)
WCS Newbie question (1997)
shocart strange behavior (1999)
searchable list archive (1997)
Removing leading zeros when formatting times or dates (2001)
I'm new be kind (1997)