// 取得系統組態 include ("../../configure.php"); // 連結資料庫 include ("../httpdocs/connect_db.php"); $sql = "SELECT news_id,name,news_html_name from news"; $rs = mysql_query($sql, $link); $num_rows = mysql_num_rows($rs); ?>