Re: echo - random
| From: | Luis Munguia Flores | Date: | Thu, 23 Aug 2001 17:40:40 +0000 |
| Subject: | Re: echo - random | ||
| References: | 1 2 3 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-13199@lists.php.net to get a copy of this message | ||
imprime > > el random de $txt[] le falta $ -> $random
sin la etiketa <a href=url><alt=$txt[$random]> <a/> asi no
sin la etiketa <a href=url>$txt[$random] <a/> asi si
> > el codigo que mandas es el que estas utlizando tal cual?
> >
> > el random de $txt[] le falta $ -> $random
> > y </a
> > </a>
> >
> > Webmaster - Barra Home wrote:
> >
> > > Consulta , No Me Funca esta q hice , a q se debera ? , tecnicamente esta
> bien
> > >
> > > <?
> > > $tamaño = "1";
> > > $letra = "Verdana";
> > > $color = "black" ;
> > >
> > > $numbanners = 3 ;
> > > $random = rand(1,$numbanners);
> > >
> > > $txt = array();
> > >
> > > $txt[1] = "El dinero es si no da felicidad... ¡La trae
> > > incluida!";
> > > $link[1]= "http://www.hackingballz.com" ;
> > >
> > > $txt[2] = "Los hombres dan amor para recibir sexo...";
> > > $link[2]= "http://www.hackingballz.com" ;
> > >
> > > $txt[3] = "...las mujeres dan sexo para recibir amor.";
> > > $link[3]= "http://www.hackingballz.com" ;
> > >
> > > echo "<font size='$tamaño'><b><font
> > > face='$letra' color='$color'><a
> > > href='$link[$random]'
> > >
> > > target='_blank'><alt='$txt[random]'></a</font></b></font>";
> > > ?>
> >
> > --
> >
> > ----------------------
> > Ing. Luis Rodríguez
> > Internet Sales Systems
> >
> >
> >
> > ---------------------------------------------------------------------
> > Archivo On-line: http://www.phpes.com/
> > Manual PHP en español: http://www.php.net/manual/es/
> > Para dar de baja la suscripción, mande un mensaje a:
> > lista-unsubscribe@phpes.com
> >
>
>
> ---------------------------------------------------------------------
> Archivo On-line: http://www.phpes.com/
> Manual PHP en español: http://www.php.net/manual/es/
> Para dar de baja la suscripción, mande un mensaje a:
> lista-unsubscribe@phpes.com
>
>