I am managing banners visualization using a php/mysql script.
Currently, the banner is extracted from a table using a "select * from
banners order by rand limit 1" query.
Anyway this is a completely random extraction. I would like to
introduce a weight in order to have some banner extracted more
frequently. Is there any way to do this (note that I can not modify the
table adding more times the same banners).
M.
--
http://incuso.altervista.org