<videosList>
<videoItem thumb="videogallery/thumbs/thumb5.jpg">
<name><![CDATA[<font color="#FFFFFF">视频名称:</font> <font color="#A4BF35">中文标题</font>]]></name>
<video>videogallery/videos/video.flv</video>
<aspect_ratio>16:9</aspect_ratio>
</videoItem>
<videoItem thumb="videogallery/thumbs/thumb2.jpg">
<name><![CDATA[<font color="#FFFFFF">视频名称:</font> <font color="#A4BF35">中文标题</font>]]></name>
<video>videogallery/videos/video.flv</video>
<aspect_ratio>16:9</aspect_ratio>
</videoItem>
<videoItem thumb="videogallery/thumbs/thumb3.jpg">
<name><![CDATA[<font color="#FFFFFF">视频名称:</font> <font color="#A4BF35">中文标题</font>]]></name>
<video>videogallery/videos/video.flv</video>
<aspect_ratio>16:9</aspect_ratio>
</videoItem>
</videosList>
这个语句我想用循环或者是数组写出来,连接数据库也行,因为以前没有学过PHP所以不会,PHP可以连SQL2005吗怎么连,或者是MySQL,谢谢大家了,因为我财富值不多了请大家多担待一下谢谢
$sql=mysql_query("select * from biao");
while($rs=mysql_fetch_array($sql))
{
echo "中间放循环的内容,内容从数据库读取".$rs['shipin'];
}