I made a simple banner rotator. I used the RAND() to call random banners from what is stored in a database.
http://neonsonline.com/index.php
thats what im using to call the info. I currently have 3 banners and it calls the same each time. does anyone know of a way to make it call a different one each page load.
http://neonsonline.com/index.php
PHP:
$result = mysql_query("SELECT * FROM banner_ads ORDER BY RAND() LIMIT 1",$db);
$banners = mysql_fetch_array($result);
thats what im using to call the info. I currently have 3 banners and it calls the same each time. does anyone know of a way to make it call a different one each page load.