Re: Picking a random entry from a .db
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 40226
interpreted = N
texte = It works, Thanks guys. I have to say... This is probably the friendliest talk list that I am a member of. Very helpful, and friendly... especially to newbies like me.On Thursday, January 9, 1941, Maurice Rickard
wrote:>At 9:31 AM 11/21/01, Matthew Bohne wrote:>>My questions is... can I, or How can I search and pull one random >>entry from the database?>>>>[search db=angeltree.db& .......>>Add to your search criteria something that'll pull all results you'd >potentially want from the db (nezipdata=0, for example), sort it >randomly (&zipsort=1&zipsdir=ra), and return only one result >(&max=1). That ought to do it.>>HTH,>M>-- >Maurice Rickard>http://mauricerickard.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://search.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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
It works, Thanks guys. I have to say... This is probably the friendliest Talk List that I am a member of. Very helpful, and friendly... especially to newbies like me.On Thursday, January 9, 1941, Maurice Rickard wrote:>At 9:31 AM 11/21/01, Matthew Bohne wrote:>>My questions is... can I, or How can I search and pull one random >>entry from the database?>>>>[search db=angeltree.db& .......>>Add to your search criteria something that'll pull all results you'd >potentially want from the db (nezipdata=0, for example), sort it >randomly (&zipsort=1&zipsdir=ra), and return only one result >(&max=1). That ought to do it.>>HTH,>M>-- >Maurice Rickard>http://mauricerickard.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://search.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://search.smithmicro.com/
Matthew Bohne
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:
protect tag on NT (1997)
Do the [date] thing... (2001)
[WebDNA] WebDNA.us site speed (2011)
woops - speed results - right subject (2002)
A simple email page? (1999)
RequiredFields template (1997)
Stopping bad HTML propagation ? (1997)
Math, Multiple Equasions and Show/Hide (1998)
Bannerad Demo (1998)
upgrading (1997)
WebCat2: Master Counter snippet (1997)
[WebDNA] macOS 10.13.3 and WebDNA Mac Server 8.5.1 - hick-up (2019)
Version f1 status (1997)
2.0 Info (1997)
Sort Order on a page search (1997)
Reloading Shopping Carts (1998)
Multi-Row Tables from a search. (1997)
table max? (2001)
WebCommerce: Folder organization ? (1997)
WebCatalog can't find database (1997)