This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

randomizing databases

Old posts that have not been replied to for several years.
Locked
i
inferno
Voice
Posts: 17
Joined: Thu Jun 05, 2003 2:46 pm

randomizing databases

Post by inferno »

hi all,
i would like to ask about the code that will let a database script
choose a random line each time ....
actually i am using a database script that responds to the word
@find somth
so it search in a txt file for matches and reply with a match
but each time it gives the same result
i have put the matching entries each 1 entry on a new line in a txt file
i just need some code or somth to let the script choose another match each time
thanks
Locked