Cita:
Iniciado por Capimaster
Tengo una mejor idea.. por ke no desarrollar un script en php alterne con 3 banners al azar...
alguna sugerencia?
Tan facil como usar arrays y la funcion
rand(); de PHP.
Código PHP:
<?php
$links = array(1=>"http://ellinkhacia.tu/imagen", 2=>"http://ellinkhacia.tu/imagennumero2");
$N = count($links);
$azar = rand(1, $N); //Donde N es el numero de elementos en tu Array.
echo '<img src="'.links[$azar].'"></img>';
//TAH DAH!!!!!!!! :D
//That was easy, was it not?
?>