Re: Random links from datatbase
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 59296
interpreted = N
texte = You would do a search with "ra" (random) sorting and a max of 5. Something like this:[search db=link.db&neSKUdatarq=bogus&allhit=1&raSKUsort=1&max=5]See the sorting sub-section of Search in the docs for more info.On Sep 5, 2004, at 5:09 AM, Paul Berman wrote:> Hi>> I have a database with 400 links to our products in it, how would I > get it> to list just 5 random links on a page from this, ensureing no 2 are > the same>> Is there an easy way to do this?>> Thanks> paul-------------------------------------------------------------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:
You would do a search with "ra" (random) sorting and a max of 5. Something like this:[search db=link.db&neSKUdatarq=bogus&allhit=1&raSKUsort=1&max=5]See the sorting sub-section of Search in the docs for more info.On Sep 5, 2004, at 5:09 AM, Paul Berman wrote:> Hi>> I have a database with 400 links to our products in it, how would I > get it> to list just 5 random links on a page from this, ensureing no 2 are > the same>> Is there an easy way to do this?>> Thanks> paul-------------------------------------------------------------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/
Brian Fries
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:
New Plug-in and Type 11 errors (1997)
WebCat2b13MacPlugIn - [include] (1997)
WebCat2b13MacPlugIn - More limits on [include] (1997)
suffix mapping for NT? (1997)
[referrer] tag (1997)
WebCatalog for Postcards ? (1997)
Just a thought (1998)
Re:Running 2 two WebCatalog.acgi's (1996)
[WebDNA] Hosting WebDNA on a shared hosting account (2016)
Emails sent twice (2000)
Assign Variable Value (1998)
Emailer problem with WC 2.1, NT, WebSite 2.1 (1998)
hidden databases (2000)
WebCat2 - [format thousands] (1997)
template includes encrypted template (1999)
accountnum using [listwords] (2001)
Re WebDNA has reached it connection limit (2004)
Storing calculated data (2002)
Summaries (1999)
WebCatalog f2 Installation (1997)