Randomy mySQL picker
Posted: Tue Jul 26, 2005 10:03 am
How do I make a code that will RANDOMLY pick a user from a mySQL database?
Im using my forums `users` table for the database to be randomly picked from becuase im holding a competition for when I reach 100 members, I will be giving away money. Well I want PHP to randomly pick the member when I run the script but I have no idea where to start, please help with either an Idea or a code.
Thanks!
Im using my forums `users` table for the database to be randomly picked from becuase im holding a competition for when I reach 100 members, I will be giving away money. Well I want PHP to randomly pick the member when I run the script but I have no idea where to start, please help with either an Idea or a code.
Thanks!