I have an internal project I'm working on where I
would like to randomly send visitors to different
pages, but, I want to be able to give some pages a
better chance of getting shown. 

So, my thought was that I would have a database table
that had records for each URL and it's weight. Then,
the program could randomly choose a record, but,
taking into account the weighting.

My question is, how in the heck do I make it read the
weighting for each record and then properly figure out
how to make a random selection basted on the weights?

Does that make sense?

Any help is greatly appreciated!

John Hawkins

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to