Re: variables php

From: Date: Thu, 22 Apr 2004 02:02:32 +0000
Subject: Re: variables php
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-47871@lists.php.net to get a copy of this message
Claro que si Federico: for($c=0;$c<10;$c++) { eval("\$foto$c = algo$c"); // esto te ejecutará $foto0 = algo0; y así } Es la misma lógica para recuperarlo if(eval("\$foto$c == 2")){ echo "si" } Saludos! -- Atentamente, Juan Carlos González Innox - Innovación Inteligente +52 (33) 3615 5348 jcgonz@innox.com.mx http://www.innox.com.mx

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