mysql 随机读取数据
<?phprequire_once(dirname(__FILE__)."/../include/common.inc.php");$str=base64_decode(...
<?php
require_once(dirname(__FILE__)."/../include/common.inc.php");
$str=base64_decode($song_id);
$mids=explode(",",$str);
foreach($mids as $id)
{
$sql2 = "select t.title, f.musicadd from `#@__archives` t
left join `#@__addonsoft` f on t.id=f.aid where id = '".$id."'";
$r2 = $dsql->GetOne($sql2);
$ss1.='<m src="'.$lx_player.''.$r2['musicadd'].'" label="'.$r2['title'].'" />';
}
$ss2.='<list>';
$ss2.=$ss1;
$ss2.='</list>';
echo $ss2;
?>
谁能帮我修改下,上边的代码. 已随机读取来生成<list>列表 展开
require_once(dirname(__FILE__)."/../include/common.inc.php");
$str=base64_decode($song_id);
$mids=explode(",",$str);
foreach($mids as $id)
{
$sql2 = "select t.title, f.musicadd from `#@__archives` t
left join `#@__addonsoft` f on t.id=f.aid where id = '".$id."'";
$r2 = $dsql->GetOne($sql2);
$ss1.='<m src="'.$lx_player.''.$r2['musicadd'].'" label="'.$r2['title'].'" />';
}
$ss2.='<list>';
$ss2.=$ss1;
$ss2.='</list>';
echo $ss2;
?>
谁能帮我修改下,上边的代码. 已随机读取来生成<list>列表 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询