A simple Banner rotator to randomly select a banner.
All you need to do is upload banners to the /images folder and name each one banner#.jpg. Modify the random number (#) to match the largest number on the banner file.
| Code: |
| echo "<img alt='Random Banner' src='images/banner".rand(1, #).".jpg' border='1'>" |
All you need to do is upload banners to the /images folder and name each one banner#.jpg. Modify the random number (#) to match the largest number on the banner file.
