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] -Dan On 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:

    
  1. Re: random in arizona ( Jesse Williams-Proudman 2003)
  2. Re: random in arizona ( Scott Anderson 2003)
  3. Re: random in arizona ( Jesse Williams-Proudman 2003)
  4. Re: random in arizona ( "WebDna @" 2003)
  5. Re: random in arizona ( Jesse Williams-Proudman 2003)
  6. Re: random in arizona ( "WebDna @" 2003)
  7. Re: random in arizona ( marc@kaiwi.com (Marc Kaiwi) 2003)
  8. Re: random in arizona ( "Dan Strong" 2003)
  9. Re: random in arizona ( Donovan Brooke 2003)
  10. Re: random in arizona ( "Dan Strong" 2003)
  11. Re: random in arizona ( "Dan Strong" 2003)
  12. Re: random in arizona ( "Dan Strong" 2003)
  13. Re: random in arizona ( "Dan Strong" 2003)
  14. Re: random in arizona ( Jesse Williams-Proudman 2003)
  15. Re: random in arizona ( marc@kaiwi.com (Marc Kaiwi) 2003)
  16. Re: random in arizona ( Jesse Williams-Proudman 2003)
  17. Re: random in arizona ( marc@kaiwi.com (Marc Kaiwi) 2003)
  18. Re: random in arizona ( marc@kaiwi.com (Marc Kaiwi) 2003)
  19. Re: random in arizona ( Jeff Logan 2003)
  20. Re: random in arizona ( marc@kaiwi.com (Marc Kaiwi) 2003)
  21. random in arizona ( Jeff Logan 2003)
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] -Dan On 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)