Re: random in arizona
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 53546
interpreted = N
texte = Whoops... be sure to add
inbetween the [founditems] within the [writefile][WriteFile temp[cart].db][include file=your.hdr][founditems][whatever][whatever2]][etc.][/founditems][/WriteFile]-DanOn Thu, 23 Oct 2003 13:37:06 -0700 "Dan Strong" wrote:>Clunky, but would work, no?>>=======================>[search db=your.db&neWHATEVERdata=show_all&WHATEVERsdir=ra]> [WriteFile temp[cart].db][include >file=your.hdr][founditems][whatever][whatever2][etc.][/founditems][/WriteFile]>[/search]>>[search db=temp.db&whateverWHATEVERdata=[whatever]&max=10&startat=[start]]> [math show=f]pages=ceil([numfound]/[max])[/math]> [founditems]> [whatever]> [/founditems]>[/search]>>[HideIf [pages]=1]> Page 1>[/HideIf]>[loop start=0&end=[pages]]> [ShowIf [pages]>[math][index]+1[/math]]> [math][index]+2[/math]> [/ShowIf]>[/loop]>>[!] .... Do this at some interval to keep server clean .... [/!]>[ListFiles path=/]>[deletefile=[filename]]>[/listfiles]>=======================>>-Dan>------------------------------------------------------------>http://www.StrongGraphicDesign.com>(208) 319-0137 | Toll-free p/f 877-561-1656>------------------------------------------------------------>>>>>>>>>>>On Thu, 23 Oct 2003 13:19:17 -0700> "Dan Strong" wrote:>>Nevermind... I see the problem now.... grrr, that's a frusting one, no? ;)>>-Dan>>>>>>On Thu, 23 Oct 2003 13:17:20 -0700>> "Dan Strong" wrote:>>>Untested....>>>>>>==================================>>>[search db=your.db&whateverWHATEVERdata=[whatever]&WHATEVERsdir=ra&max=10&startat=[start]]>>> [math show=f]pages=ceil([numfound]/[max])[/math]>>> [founditems]>>> [whatever]>>> [/founditems]>>>[/search]>>>>>>[HideIf [pages]=1]>>> Page 1>>>[/HideIf] >>>[loop start=0&end=[pages]]>>> [ShowIf [pages]>[math][index]+1[/math]]>>> [math][index]+2[/math]>>> [/ShowIf]>>>[/loop]>>>==================================>>>>>>-Dan>>>------------------------------------------------------------>>>http://www.StrongGraphicDesign.com>>>(208) 319-0137 | Toll-free p/f 877-561-1656>>>------------------------------------------------------------>>>>>>>>>On Thu, 23 Oct 2003 11:53:25 -0700>>>Jeff Logan wrote:>>>>On this site I am building>>>>>>>>http://www.arizona-bed-breakfast.com/beta/tucson.html>>>>>>>>I wish to show details in random format, but only 5 at a time. When someone clicks on the link >>>>to view the next 5 items they should see the next 5 in order not a new random listing.>>>>>>>>Any ideas on how to get this to work.>>>>>>>>NOTES>>>>1. Using OS X with WebDNA 4.5>>>>2. I have heard that random seed does not work, any validity to that?>>>>-- >>>>>>>>------------------------------------------------------------------------------------------------------>>>>InsideOut Marketing and Web Solutions -229 South Sequim Ave. Sequim WA, 98382>>>>1-800-500-8401 Toll Free | 360-683-5774 phone | 360-683-5857 fax>>>>jeff@insideout.com | www.insideout.com>>>>>>>>------------------------------------------------------------->>>>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 >>>>Web Archive of this list is at: http://webdna.smithmicro.com/>>>>>>>>>------------------------------------------------------------->>>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 >>>Web Archive of this list is at: http://webdna.smithmicro.com/>>>>------------------------------------------------------------>>http://www.StrongGraphicDesign.com>>(208) 319-0137 | Toll-free p/f 877-561-1656>>------------------------------------------------------------>>>>------------------------------------------------------------->>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 >>Web Archive of this list is at: http://webdna.smithmicro.com/>>>------------------------------------------------------------->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 >Web Archive of this list is at: http://webdna.smithmicro.com/------------------------------------------------------------http://www.StrongGraphicDesign.com(208) 319-0137 | Toll-free p/f 877-561-1656-------------------------------------------------------------------------------------------------------------------------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 Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Whoops... be sure to add inbetween the [founditems] within the [writefile][WriteFile temp[cart].db][include file=your.hdr][founditems][whatever][whatever2]][etc.][/founditems][/WriteFile]-DanOn Thu, 23 Oct 2003 13:37:06 -0700 "Dan Strong" wrote:>Clunky, but would work, no?>>=======================>[search db=your.db&neWHATEVERdata=show_all&WHATEVERsdir=ra]> [WriteFile temp[cart].db][include >file=your.hdr][founditems][whatever][whatever2][etc.][/founditems][/WriteFile]>[/search]>>[search db=temp.db&whateverWHATEVERdata=[whatever]&max=10&startat=[start]]> [math show=f]pages=ceil([numfound]/[max])[/math]> [founditems]> [whatever]> [/founditems]>[/search]>>[HideIf [pages]=1]> Page [thisurl]?start=1">1>[/HideIf]>[loop start=0&end=[pages]]> [ShowIf [pages]>[math][index]+1[/math]]> [thisurl]?start=[math][index]+1[/math]1">[math][index]+2[/math]> [/ShowIf]>[/loop]>>[!] .... Do this at some interval to keep server clean .... [/!]>[ListFiles path=/]>[deletefile=[filename]]>[/listfiles]>=======================>>-Dan>------------------------------------------------------------>http://www.StrongGraphicDesign.com>(208) 319-0137 | Toll-free p/f 877-561-1656>------------------------------------------------------------>>>>>>>>>>>On Thu, 23 Oct 2003 13:19:17 -0700> "Dan Strong" wrote:>>Nevermind... I see the problem now.... grrr, that's a frusting one, no? ;)>>-Dan>>>>>>On Thu, 23 Oct 2003 13:17:20 -0700>> "Dan Strong" wrote:>>>Untested....>>>>>>==================================>>>[search db=your.db&whateverWHATEVERdata=[whatever]&WHATEVERsdir=ra&max=10&startat=[start]]>>> [math show=f]pages=ceil([numfound]/[max])[/math]>>> [founditems]>>> [whatever]>>> [/founditems]>>>[/search]>>>>>>[HideIf [pages]=1]>>> Page [thisurl]?start=1">1>>>[/HideIf] >>>[loop start=0&end=[pages]]>>> [ShowIf [pages]>[math][index]+1[/math]]>>> [thisurl]?start=[math][index]+1[/math]1">[math][index]+2[/math]>>> [/ShowIf]>>>[/loop]>>>==================================>>>>>>-Dan>>>------------------------------------------------------------>>>http://www.StrongGraphicDesign.com>>>(208) 319-0137 | Toll-free p/f 877-561-1656>>>------------------------------------------------------------>>>>>>>>>On Thu, 23 Oct 2003 11:53:25 -0700>>>Jeff Logan wrote:>>>>On this site I am building>>>>>>>>http://www.arizona-bed-breakfast.com/beta/tucson.html>>>>>>>>I wish to show details in random format, but only 5 at a time. When someone clicks on the link >>>>to view the next 5 items they should see the next 5 in order not a new random listing.>>>>>>>>Any ideas on how to get this to work.>>>>>>>>NOTES>>>>1. Using OS X with WebDNA 4.5>>>>2. I have heard that random seed does not work, any validity to that?>>>>-- >>>>>>>>------------------------------------------------------------------------------------------------------>>>>InsideOut Marketing and Web Solutions -229 South Sequim Ave. Sequim WA, 98382>>>>1-800-500-8401 Toll Free | 360-683-5774 phone | 360-683-5857 fax>>>>jeff@insideout.com | www.insideout.com>>>>>>>>------------------------------------------------------------->>>>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 >>>>Web Archive of this list is at: http://webdna.smithmicro.com/>>>>>>>>>------------------------------------------------------------->>>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 >>>Web Archive of this list is at: http://webdna.smithmicro.com/>>>>------------------------------------------------------------>>http://www.StrongGraphicDesign.com>>(208) 319-0137 | Toll-free p/f 877-561-1656>>------------------------------------------------------------>>>>------------------------------------------------------------->>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 >>Web Archive of this list is at: http://webdna.smithmicro.com/>>>------------------------------------------------------------->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 >Web Archive of this list is at: http://webdna.smithmicro.com/------------------------------------------------------------http://www.StrongGraphicDesign.com(208) 319-0137 | Toll-free p/f 877-561-1656-------------------------------------------------------------------------------------------------------------------------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 Web Archive of this list is at: http://webdna.smithmicro.com/
"Dan Strong"
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:
[WebDNA] .html extension (2012)
pc (1997)
Smart caching problems with 2.1b3? (1997)
[WebDNA] 6.2.1 fails on Apache 2.4.6 (2014)
{Grouping} Docs (1999)
RE: Displaying Location (1997)
Ampersand (1997)
Security Tip (1996)
bug in [SendMail] (1997)
WebDNA Monitor (2005)
Interfacing WebMerchant to www.fedex.com (1997)
Formulas.db not working (2006)
Latest beta slow on [order] and [purchase] (1997)
TCPSend/Replace DB Records (2002)
Re:[input] context (1999)
WYSIWYG-editor for mac (2003)
[WebDNA] Debian installation configuration for .html extension to work (2015)
Databases inside [SHOWIF] (1998)
[WebDNA] What file needs to be edited in apache to server html (2008)
[OT] Read and weep (2003)