Re: Appending a field to itself

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 30839
interpreted = N
texte = >Hello! > >I decided to carve out my own message board from the jungle of Web >Cat and keep running into a wall. In my attempt at making the thing >threaded, I thought that I could keep track of a message's lineage >by doing something LIKE: > >[append guestbook.db] >some web cat stuff... >&history=[history] [cart] >[/append] > >The cart part is fine, but [history] is appended to the history >field of the database. Bth, when a new thread is created, >&history=[cart] works fine; the problem comes when I try to add to >it.Based on the snippet of code above, I'd guess it's because you're not telling WebCat what [history] is. WebCat doesn't know to replace [history] with anything unless you call it up from somewhere.&history=[history] [cart]should be&history=[LOOKUP db=guestbook.db&value=&lookinfield=&returnfield=history] [cart]Michael------------------------------------------------------------- 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: Appending a field to itself (Michael Winston 2000)
  2. Appending a field to itself (Andy Mowrey 2000)
>Hello! > >I decided to carve out my own message board from the jungle of Web >Cat and keep running into a wall. In my attempt at making the thing >threaded, I thought that I could keep track of a message's lineage >by doing something LIKE: > >[append guestbook.db] >some web cat stuff... >&history=[history] [cart] >[/append] > >The cart part is fine, but [history] is appended to the history >field of the database. Bth, when a new thread is created, >&history=[cart] works fine; the problem comes when I try to add to >it.Based on the snippet of code above, I'd guess it's because you're not telling WebCat what [history] is. WebCat doesn't know to replace [history] with anything unless you call it up from somewhere.&history=[history] [cart]should be&history=[LOOKUP db=guestbook.db&value=&lookinfield=&returnfield=history] [cart]Michael------------------------------------------------------------- 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 Michael Winston

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 to add commas to number displays (2004) Hummm .... (1998) RE: PIXO support (1997) [WebDNA] WebDNA restart script (2015) Webcat 2.0.1 date math bug -> Crash! (1997) RE: E-mailer error codes (1997) Help name our technology! (1997) Strange intermittent WebDNA problems (2008) webcat- multiple selection in input field (1997) Re[2]: [format] problems (2000) Normalizing Dates and Phone numbers (2000) Banner Ad example (Typhoon) and WebCatalog (1997) PSC recommends what date format yr 2000??? (1997) dos performance (1998) Calendar (1997) listfiles-looking for slick solution (1997) Writing to disk (1999) EMERGENCY: WebCatalog stopped processing .HTML (IIS) (2003) HTML encoding in URLs (1997) questions on variations of Ken's [text (1999)