<?php
mysql_connect("localhost","root","") or die ("连接错误");
mysql_select_db("mysql") or die ("数据库错误");
$sql="SELECT * FROM `help_relation` LIMIT 0 , 30";
$query=mysql_query($sql);
while ($rs=mysql_fetch_array($query)){
echo $rs['help_topic_id']."<br>";
}
?>
php测试源码---简单查询
最新推荐文章于 2024-10-16 16:22:45 发布