session_start(); include("conn.php");?> $sql=mysql_query("select * from love_loveitem where itemvalue='astro' or itemvalue='lunar' or itemvalue='blood'order by orders desc limit 0,7",$conn); while ($row=mysql_fetch_array($sql)) { $str=$row[items]; $name=$row[itemname]; $strvalue=$row[itemvalue]; $arr=explode("|",$str);//分割数组 ?> *".$name.": ";}?>