View Single Post
05-07-2008, 11:56 AM
Join Date: Dec 2007
Originally Posted by
on the face of it it may sem complex but its actually quite simple (que pseudo(ish)code)
make an array of words
count how many words we have
loop over and make a random number
check the number to see if it already is in the random number array
if not continue, but if it does exist loop until a random number is produced that is unique
then loop over again but use the random number from the random number array as an index for the word array and echo it
yeah yeah, just i havent felt well for the past few days, and well i cant think right, and plus my pc is being slow. too much memroy usage i ugess.
but cant you just use array_unqiue for making them unique words aswell?
VillageIdiot can have my babbies ;d
View Public Profile
Send a private message to Orc
Visit Orc's homepage!
Find More Posts by Orc