Re: Guardar arreglo de php en arreglo de javascript

From: Date: Fri, 11 May 2001 18:31:43 +0000
Subject: Re: Guardar arreglo de php en arreglo de javascript
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-10039@lists.php.net to get a copy of this message
sería una cosa así: $var = ""; while (list($var,$value)=each($array_php)) { $var .= ",'".$value."'"; }; echo "array_js= new array(".substr($var,1).");"; El Vie 11 May 2001 20:28, Victor escribiste: > Espero alguien me pueda ayudar > > Necesito pasar un arreglo de php a un arreglo de javascript agradeceria > mucho su ayuda. > > atte. Victor M. -- Antonio Salom Palliser

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