Revision: 23862
Updated Code
at February 15, 2010 21:29 by landonmiller
Updated Code
<?php $rotate[] = "<img src='images/1.jpg' alt='' border='0' width='405' height='107' />"; $rotate[] = "<img src='images/2.jpg' alt='' border='0' width='405' height='107' />"; $rotate[] = "<img src='images/3.jpg' alt='' border='0' width='405' height='107' />"; $rotate[] = "<img src='images/4.jpg' alt='' border='0' width='405' height='107' />"; $number = rand(0, sizeof($rotate) - 1); echo $rotate[$number]; ?>
Revision: 23861
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 15, 2010 21:28 by landonmiller
Initial Code
<?php $rotate[] = "<img src='images/1.jpg' alt='' border='0' width='405' height='107' />"; $rotate[] = "<img src='images/2.jpg' alt='' border='0' width='405' height='107' />"; $rotate[] = "<img src='images/3.jpg' alt='' border='0' width='405' height='107' />"; $rotate[] = "<img src='images/4.jpg' alt='' border='0' width='405' height='107' />"; $number = rand(0, sizeof($rotate) - 1); echo $rotate[$number]; ?>
Initial URL
Initial Description
Initial Title
Rotate image on page refresh
Initial Tags
php
Initial Language
PHP