Comunidad de diseño web y desarrollo en internet online

Porbelma con flash as2 y php

Citar            
MensajeEscrito el 22 Ago 2008 02:59 pm
M e pueden ayudar amigos!!! Un favor estuve haciendo conexiones con flash y mysql mediante php alquien me puede ayudar porfa no funciona y no se donde esta el error:
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!!

Por josephvale

19 de clabLevel



 

msie
Citar            
MensajeEscrito el 22 Ago 2008 03:30 pm
josephvale, porfavor no repitas post
Alguien que cierre este tópic, acá ya se le contesto

Por rolv

Claber

2000 de clabLevel

3 tutoriales

 

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.