<?php } ?> 啥意思
2 回答

慕俠2389804
TA貢獻(xiàn)1719條經(jīng)驗 獲得超6個贊
<?php //分頁原理
$result = mysql_query("select id from p_newsbase");
$total = mysql_num_rows($result);
pageft($total, 20);
if ($firstcount < 0) $firstcount = 0;
//查找條數(shù)
$query = $db->findall("p_newsbase limit $firstcount, $displaypg");
while ($row = $db->fetch_array($query)) {
?>
在這里加載你的html代碼......
<?php
}//這里的 '}' 就是閉合上面的php語句中的 'while(){' 的。為了把php語句和html語句分開才這樣寫
?>
- 2 回答
- 0 關(guān)注
- 555 瀏覽
添加回答
舉報
0/150
提交
取消