/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?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' />"; echo $rotate[$number]; ?>