MySql query only returns 1º letter to Flash?!

Hi! :beer:

I’m officially lost! I tried everything but I can’t seem to understand what the hell is going on. I have the most simple query ever:


$query = "SELECT * FROM table WHERE name='Ruben'";
$result = mysql_query($query);

echo "&result=".$result;

…and then in Flash:


var loads = new LoadVars();
var sends = new LoadVars();

sends.sendAndLoad('http://localhost/go.php?rand='+getTimer()+random(9999), loads, 'POST');

loads.onLoad = function(Success:Boolean){
    if(Success){
       trace(loads.result);
    }
}

Pretty simple. The problem is that the trace only gets the first letter of the database result. For example if the query returns Potatoe, I only get P in Flash. I mean, what the hell!?? Please, does somebody know why this happens? I’m just this close to go on a killing spree! Help!