<?
$conn=mysql_connect("localhost","root","")ordie("数据库毗连堕落".mysql_error());
mysql_select_db("jiaocheng",$conn);
mysql_query("setnamesgbk");
?>
<?
include("inc/conn.php");
?>
<ul>
<?
$sql="select*fromnewsorderbyiddesclimit0,6";
$query=mysql_query($sql);
while($row=mysql_fetch_array($query)){
?>
<li><span><?=$row[add_time]?></span><ahref="#"><?=$row[title]?></a></li>
<?}?>
</ul>
欢迎光临 仓酷云 (http://ckuyun.com/) | Powered by Discuz! X3.2 |