DocFirestorm
02-10-2002, 01:03 PM
Hey!
I have a question about getting the results from a query into my flash movie.
the code:
$sql = "SELECT * FROM table LIMIT 0,3 ORDER BY TIMESTAMP";
$result = mysql_query($sql);
while($row = mysql_fetch_object($result)
{
print (&message=$row->......);
}
if i extract the script without flash i get 3 results.
in flash im made loadvar.... and insertet in a textbox if the variable is loaded.
when i put the & away from the php code i get 3 result but like this test1message=test2message=test3
i tried it to split i up but i didnt work fine
thx
I have a question about getting the results from a query into my flash movie.
the code:
$sql = "SELECT * FROM table LIMIT 0,3 ORDER BY TIMESTAMP";
$result = mysql_query($sql);
while($row = mysql_fetch_object($result)
{
print (&message=$row->......);
}
if i extract the script without flash i get 3 results.
in flash im made loadvar.... and insertet in a textbox if the variable is loaded.
when i put the & away from the php code i get 3 result but like this test1message=test2message=test3
i tried it to split i up but i didnt work fine
thx