Re: MATH TIME

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14833
interpreted = N
texte = >I'm trying to display users logged in in last 10 minutes. >The code looks like: >[search db=users1.tab&eqdatedata=[date]] >[showif [time]>[math time]{[time]}-{00:10:00}[/math]] >[founditems] >*[user]
>[/founditems] >[/showif] >[/search] >It does not work. Somehow it shows all users logged at the same date >What is wrong?You have the [showif] *outside* the founditems, not *inside*, so the showif is not using any of the fields from the founditems loop.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 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: MATH TIME (Grant Hulbert 1997)
  2. Re: MATH TIME (natasha 1997)
  3. Re: MATH TIME (Grant Hulbert 1997)
  4. MATH TIME (natasha 1997)
>I'm trying to display users logged in in last 10 minutes. >The code looks like: >[search db=users1.tab&eqdatedata=[date]] >[showif [time]>[math time]{[time]}-{00:10:00}[/math]] >[founditems] >*[user]
>[/founditems] >[/showif] >[/search] >It does not work. Somehow it shows all users logged at the same date >What is wrong?You have the [showif] *outside* the founditems, not *inside*, so the showif is not using any of the fields from the founditems loop.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 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Grant Hulbert

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:

Ot-Ip's on OSX (2004) shared_POP and archiving your own mailing list (2003) [OT] Helllllooooooo.... (2002) Location of Browser Info.txt file (1997) Document Contains No Data! (1997) Resume Catalog ? (1997) Email notification to one of multiple vendors ? (1997) [Q] Novice's question (1997) [INCLUDE] Limitations (1998) All choices on IE different than Netscape (1997) Re[2]: Using [Include] Context (1999) [WebDNA] Auto Suggest Form (2014) Forcing a NEWCART (1997) Duplicates (1998) Items XX to XX shown (1997) [WebDNA] [Delete] doesn delete all... (2009) Don't tick me off :) [elaspedtime] (1997) year 2000 + and webmerch, macauth? (1998) PCS Frames-Default page is solution! (1997) Running _every_ page through WebCat-error.html (1997)