Re: [showif] and equality
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 20297
interpreted = N
texte = >I'm having a small problem with the following code:>>[showif ([math time]({[time]} - {[t]})[/math]) < [math>time]{00:10:00}[/math]]>[/showif]>>What I want to do is have a list from a database of records whose last>update was within the last ten minutes. Is this code even possible?Regardless of your actual webdna code, you also must add the date. Times are repeated daily, and if you do it the way you're trying to do it, without also comparing the date, you're going to get returned records that match updates on other days but within the same time period, if any exist ...Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Associated Messages, from the most recent to the oldest:
>I'm having a small problem with the following code:>>[showif ([math time]({
[time]} - {[t]})[/math]) < [math>time]{00:10:00}[/math]]>[/showif]>>What I want to do is have a list from a database of records whose last>update was within the last ten minutes. Is this code even possible?Regardless of your actual webdna code, you also must add the date. Times are repeated daily, and if you do it the way you're trying to do it, without also comparing the date, you're going to get returned records that match updates on other days but within the same time period, if any exist ...Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Kenneth Grome
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:
problems with 2 tags (1997)
surf express & webcat (1998)
cart (1997)
Re[2]: [format] problems (2000)
[WebDNA] calling a webDNA tmpl from PHP? (2008)
Active Server Code... (1998)
MasterCounter Help (1998)
Cache headers - WebDNA 5 (2005)
Using Encrypt/Decrypt (2003)
BUG in [showif] using ^ (contains) (1997)
Problems passing [SKU] with $Replace in 2.0 (1997)
SetHeader context (1998)
Dark Horse Comics success story (1997)
Weird error message (2002)
Form/HTML Help (2000)
adding second sku (2000)
Forms Search Questions (1997)
Error Lob.db records error message not name (1997)
WebCat2 Append problem (B14Macacgi) (1997)
PIXO (1997)