tngo una bd que se llama mmsapp y una tabla que se llama mmschat con campos como ser pin varchar (25), numero int (25), etc
tngo un php :
<?php
$HOST = "localhost";
$USER = "root";
$PASS = "123";
$DATABASE = "mmsapp";
$conex = mysql_connect($HOST, $USER, $PASS);
mysql_select_db($DATABASE, $conex);
$sql = "SELECT * FROM mmschat;
$result = mysql_query($sql);
mysql_close();
$respuesta="";
$i=0;
while ($row = mysql_fetch_array($result)){
$respuesta.= "&id$i=".$row['id'];
$respuesta.= "&numero$i=".$row['numero'];
$respuesta.= "&imagen$i=".$row['imagen'];
$i++;
}
$respuesta.="&";
echo utf8_encode($respuesta);
y luego en la parte del flash tengo :
var archivoPHP:LoadVars = new LoadVars();
archivoPHP.load("Consulta.php");
archivoPHP.onLoad = function() {
texto_txt.text = this.id;
texto1_txt.text = this.numero;
texto2_txt.text = this.imagen;
};
pero no se que pasa!!!!!!! alguien me ayude porfa
GRACIAS!!
