Re: Replace context

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19859
interpreted = N
texte = >I am trying to count page hits by using a replace context i.e. > >[Replace >db=hits.db&eqWebPagedata=[ThisURL]]Hits=[Math][Hits]+1[/Math][/Replace] > >Does this make sense? What am I doing wrong?You must provide your template a value of [Hits] by doing a search or lookup.>Also, where do you put the Append=T?[Replace db=hits.db&eqWebPagedata=[ThisURL]&Append=T]There's an a working example on Pacific Coast's (ftp)site called MasterCounter. ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Ljusa Ideer AB S-211 37 Malmoe Fax +46 40 97 99 77 Sweden http://www.ljusaideer.se Associated Messages, from the most recent to the oldest:

    
  1. Re: Replace context (Rob Marquardt 1998)
  2. Re: Replace context (Christer Olsson 1998)
  3. Replace context (Jeffrey L. Jones 1998)
  4. Re: Replace context problem ... (Glenn Davis 1997)
  5. Re: Replace context problem ... (Kenneth Grome 1997)
  6. Re: Replace context problem ... (Glenn Davis 1997)
  7. Replace context problem ... and answers (Kenneth Grome 1997)
  8. Replace context problem ... (Kenneth Grome 1997)
>I am trying to count page hits by using a replace context i.e. > >[Replace >db=hits.db&eqWebPagedata=[thisurl]]Hits=[math][Hits]+1[/Math][/Replace] > >Does this make sense? What am I doing wrong?You must provide your template a value of [Hits] by doing a search or lookup.>Also, where do you put the Append=T?[Replace db=hits.db&eqWebPagedata=[thisurl]&Append=T]There's an a working example on Pacific Coast's (ftp)site called MasterCounter. ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Ljusa Ideer AB S-211 37 Malmoe Fax +46 40 97 99 77 Sweden http://www.ljusaideer.se Christer Olsson

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:

MAC versions of WebCatalog 2.1 and WebMerchant 2.1 (1998) [WebDNA] WebDNA and MAMP/Apache (Mac) (2018) Need formum software... (2003) Gil's in the lead (1999) Cache headers - WebDNA 5 (2005) Secure server question (1997) Trouble with listwords (2000) WebCatalog NT (1996) WebCAT has the devil in it! (2003) [WebDNA] Flippage & SWCTools (2010) Netscape v. IE (1997) WebCat2b15MacPlugin - showing [math] (1997) Incrementing a number (1998) WebCat2 - [format thousands] (1997) Limiting user access to .tmpl files (1997) Credit Card Number checking (1997) [WebDNA] [WSC] WebDNA Development Summit (2014) WebCatalog can't find database (1997) [index] (1997) Re:Help name our technology! (1997)