The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Generate Random Word?
I want to generate a random word, it doesn't need to be completely random (can also be a random word out of a list of 10, or something).
I know for sure this is possible, and I could find this out myself, but I simply don't have the time to do so... Help would be appreciated, as always |
#2
|
||||
|
||||
PHP can't generate random words as it has no dictionary, though you might wanna use vB's searchindex. Run this query:
Code:
SELECT title FROM word ORDER BY rand() LIMIT 1 |
#3
|
||||
|
||||
PHP Code:
- Zero Tolerance |
#4
|
|||
|
|||
Thanks ZT, just what I needed
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|