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:
How do I get Google to crawl a WebCat site? (2003)
PCS Emailer's role ? (1997)
Possible Bug in 2.0b15.acgi (1997)
Maybe off topic but how to charge (1997)
The IBC root beer has arrived! (1997)
[group] ? (1997)
Blog/social networking shortcut (2007)
RE: [WebDNA] Cheap tiny VPS running WebDNA 7.0 FastCGI !!! (2010)
Code database (1998)
[WebDNA] limit found per row (2011)
Help formatting search results w/ table (1997)
Question About XML Style Syntax (2000)
Applescript Hack (1996)
redirect with frames (1997)
Comments in db? (1997)
[WebDNA] WebDNA 6.2 and Mac OS X 10.5 Client / Server ? (2009)
Help! WebCat2 bug (1997)
GuestBook example (1997)
Trouble Searching (1999)
WebCatalog can't find database (1997)