Display a mysql row

How can I dislay a mysql row in flash?

I know that I must first use php to call the values of the table.

I’m using this code but some how it won’t display right.

php code


$query = "SELECT * FROM equipa";
$result = mysql_query($query);

while ($row = mysql_fetch_array($result)){
echo $row['jogadores']."<p>";
}
echo("&myVar=$row");

thanks