Tema: Rotar Texto
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 24/10/2005, 10:49
Avatar de yuguilley
yuguilley
 
Fecha de Ingreso: febrero-2004
Ubicación: Montenegro Quindío
Mensajes: 108
Antigüedad: 20 años, 1 mes
Puntos: 0
Pregunta Rotar Texto

Hola

Quiero que rote varios textos, pero no me funciona

me pueden ayudar

<?
$keywords = 2; //numero de textos que se rotarán
$random = rand(1,$keywords);
$txt = array();

$txt[1] = "texto1";
$txt[2] = "texto2";

echo ($txt[random]);
?>