Lo que hago es esto;
<?php
//creamos la variable
$nombre = "johnmartin es mi nombre";
$nombre1 = "johnmartin es mi nombre1;
$nombre2 = "johnmartin es mi nombre2;
//le damos salida
print("nombre=" . $nombre);
print("nombre1" . $nombre1);
print("nombre2" . $nombre2);
?>
var a = new LoadVars();
a.load("miphp.php");
a.onLoad = function() {
texto_txt.text = this.nombre;
texto1_txt.text = this.nombre1;
texto2_txt.text = this.nombre2;
};
RESULTADO:
en el texto_txt.text sale johnmartin es mi nombre johnmartin es mi nombre1 johnmartin es mi nombre2
osea que las tres variables se introducen en una en this.nombre
No se si me he explicado bien, bueno espero que me ayudeis salu2
DAREK
