Ya that doesnt work, duh! It'll still pick a random member, but only write to the text file if a user is chosen with 10+ posts.
Dam, I guess that isnt what i wanted. I actually want it to cycle through the database and look for users with only 10+ posts. lol
Im guessing I would use this while statement already in the function
quote:
while (!$x) {
$x = $the_members[int (rand($StatsData{'TotalMembers'}-1) + 1)];
}
Now what to add to it, Im not sure. or how..