random searcher

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   random searcher
sugster_84
CZ Newbie
sugster_84 has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jul 19, 2004
0.00 posts per day
Posts: 5
Points: 308
   
hi, i am totally new to php and mysql.

is it possible to pick a random selection from mysql database and display it on a page of my site.

basically i am running a competition and want to pick a winner ever week. i want it to be random choice. also if that person has been chosen they can not be chosen again within that month.

on the page i want something like this:- the winner is and username.

baring in mind there are a couple of hundred users.

if its possible can you let me know, it would be most appreciated. also if some one submits some code that will work will you explain as i am really wanting to learn php.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum