Hi,
I am currently working on a site for a newspaper and they want ads from their paper to show up along one of the sidebars and they have to be random from a list of many ads and there can't be duplicate ads.
I am storing all the image paths to the ads as well as urls to applicable sites in a seperate mysql db and want to know how I can randomly take say 4-5 ads out and place them in any order and not have them duplicate.
How do I go about doing something like this?
Thanks alot!
Nate
I am currently working on a site for a newspaper and they want ads from their paper to show up along one of the sidebars and they have to be random from a list of many ads and there can't be duplicate ads.
I am storing all the image paths to the ads as well as urls to applicable sites in a seperate mysql db and want to know how I can randomly take say 4-5 ads out and place them in any order and not have them duplicate.
How do I go about doing something like this?
Thanks alot!
Nate