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] Searching for multiple bits of data in one field or use (2016)
RAM variables (1997)
Updating checkboxes made easy !!! (1998)
I'm tired of all this! (2000)
Error 404 problem (2003)
Browser Caching (2003)
frames & carts (1997)
all db's in one folder and protected (1998)
[Sum] function? (1997)
[OT] WebCat 3.x (Mac) Lic. For Sale (2000)
apache/linux8/WC (2002)
Tax Rates (1998)
[WebDNA] OT: just poking (2010)
[/application] error? (1997)
rename a file (1997)
RE: protect tag on NT (1997)
off topic fetch vs PCS photomaster (1997)
authorizenet/webmerchant (2000)
b12 cannot limit records returned and more. (1997)
$append (1998)