Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/11/2009, 05:17
Avatar de ken-obi
ken-obi
 
Fecha de Ingreso: julio-2004
Ubicación: Alicante
Mensajes: 314
Antigüedad: 19 años, 9 meses
Puntos: 6
error de variables

Wenas a tod@s !!!
Encontre un ejemplo por la red de como recoger variables PHP desde Flash pero por mucho que le doy vueltas no me muestra todas las variables, me muestra todas las variables en la misma caja de texto dinamico.

Os dejo el codigo aver si alguien tiene solucion.

Scipt del flash:
Código PHP:
var = new LoadVars();
    
a.load("idiomas.php");
    
a.onLoad = function() {
    
inicio_txt.text this.inicio;
    
amarres_txt.text this.amarres;
    
servicio_txt.text this.servicio;
    
guia_txt.text this.guia;
}; 
Codigo PHP:
Código PHP:
 <?php 
$inicio 
"Inicio" 
$amarres "Amarres" 
$servicio "Servicio" 
$guia "Guia Turistica" 

$vars .= "inicio=" $inicio 
$vars .= "amarres=" $amarres 
$vars .= "servicio=" $servicio 
$vars .= "guia=" $guia 

echo 
$vars 
?>
Porfavor por mucho que le de vueltas no me funciona...:(

Graciaaasss
__________________
Un mundo sin fin... !!! viva los moros y cristianos de ELDA !!!