PDA

View Full Version : how to parse a $ php to flash?


jacomo
11-29-2005, 05:21 PM
Hi, I would like to make it readable by flash - how to do so
thanks
jr
__________________________________________________ ___________
<? texte=
$db = mysql_connect("xxxxx", "xxxx","xxxxx");

mysql_select_db("xxxx",$db);

$requete = "select * from peyrac order by id desc limit 0,5";

$envoi = mysql_query($requete);


while($tableau = mysql_fetch_array($envoi))
{

$titre =$tableau['titre'];
echo "<span class='maintext'>$titre</span><br>
}

mysql_close($db);
?>
___________

ovydiu
11-30-2005, 12:16 PM
i haven't done this before but try using LoadVars and to use echo to output the result..