I am currently using this code to rotate between 2 offers:
<?php
if(rand(0,1) == 0) {
header("Location: http://www.Offer1.html");
} else {
header("Location: http://www.Offer2.html");
}
?>
How do I rotate between say 5 offers or 10 offers? What would the code look like?
I know its easy, but I know jack shit about programming.
Thanks guys
<?php
if(rand(0,1) == 0) {
header("Location: http://www.Offer1.html");
} else {
header("Location: http://www.Offer2.html");
}
?>
How do I rotate between say 5 offers or 10 offers? What would the code look like?
I know its easy, but I know jack shit about programming.
Thanks guys