Re: variables variables? - LISTO

From: Date: Mon, 22 Apr 2002 20:36:11 +0000
Subject: Re: variables variables? - LISTO
References: 1 2  Groups: php.general.es 
Request: Send a blank email to general-es+get-21740@lists.php.net to get a copy of this message
Prueben con ${$a.$b}.... > Leñes, es verda :) $a$b no funciona :( > > De todas maneras, piensa en lo que te puse en el anterior email. Si recibes > las variables desde un formulario, no hace falta que las recorras desde 1 > hasta 3000, mira en GLOBALS. > > Salu2 > > cYbErDaRk > > ----- Original Message ----- > From: "Emilio Durkheim" <cigi@hotpop.com> > To: <lista@phpes.com> > Sent: Monday, April 22, 2002 4:42 PM > Subject: RE: [PHP-ES] variables variables? - LISTO > > > > listo me ahogaba en un vaso de agua > > no se si estara "bien" hecho . pero anda > > > > para los que se quedaron con la duda: > > > > $i se toma de un for > > > > $op1 = "k" ; > > > > $util = "op".$i ; > > $util2 = $$util.$$i ; > > > > echo $util2 ; => esto da "k" ; > > > > > > gracias > > > --------------------------------------------------------------------- > Archivo On-line: http://www.phpes.com/ > via news: news://news.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 > >

« previous php.general.es (#21740) next »