0
我已经填充了一个php页面,我在该php中拉图像。现在我怎么可以通过数组将这些图像放入Flash中。 PHP代码是发送图像从PHP到Flash
<?PHP
$link = mysql_connect("localhost","root","");
mysql_select_db("dbname");
$query = "SELECT * FROM dress where dress_type='shirts' AND sex='male'";
$results = mysql_query($query);
while($row = mysql_fetch_assoc($results))
{
$path = $row["imagelocation"];
$final = "<img src='$path' width='100' height='100'>\n";
echo "$final";
}
mysql_close($link);
?>
它不会为我工作。我也必须展示图像。你可以帮我吗? –
我拥有的代码应该显示图像 - 您需要用您的PHP脚本的URL替换'your_php_file.php'。 – Marty
它可以显示图像。但图像是重叠的。我该怎么办? –