Example: I have a realtor site which profiles 5 realtors... Realtor "A" is displayed in the 1# position when one visitors comes to the site and when another visitors logs on Realtor "B" moves to position 1# and Realtor "A" slides down to the 5# position and so on.... The purpose is to give all the Realtors equal exposure from site visitors
"select * form realtors limit 1,$rndNum" ...
where $rndNum is a random number set in the script that is betweeen 1 and the total realotrs available...
off the subject, I have a database of 100,000 realtors, wanna buy it?
How do you set this script up?
well, assuming you have this information storred in a database, then running this query will give you the desired results... if not, then just do something like putting the info into an array and pick a random entry from it....