
September 28th, 2004, 12:28 AM
|
|
|
|
Join Date: Apr 2007
Location: Adelaide, SA, Australia
Posts: 18
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Flash front end PHP Backend
Hi there...
I currently have a listbox that is used to display members names pulled from a msql dbase, displayed in a html page using the following code snippet:
<select name="memname">
<?php
include ("connect.php");
$qry = "SELECT username FROM dsn_members ORDER BY username ASC";
$rlt = mysql_query($qry);
if (mysql_num_rows($rlt))
{
while ($row = mysql_fetch_array($rlt))
{
echo "<option value="".$row[0].""> ".$row [0]."</option>";
}
}
?>
</select>
I am looking at displaying the same data in a listbox contained in a flashmx movie.
Can anyone offer suggestions on how the listbox in the flash movie would be populated with the data.
|