Re: [請益] 分頁問題 急救! = =
改成:
$sql = "select count(*) as amount from table";
$result = mysql_query($sql);
if(mysql_num_rows($result) > 0){
$row = mysql_fetch_row($result);
$amount = $row['amount'];
}
.......
.......
這樣應該就不會再出現那樣的錯誤訊息了
(原本的錯誤訊息只是警告用,不會影響程式繼續執行)
以上僅供參考
--
我的相簿
http://photo.xuite.net/farfar
我的布拉格
http://blog.xuite.net/farfar/blog
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.162.164.182
討論串 (同標題文章)
PHP 近期熱門文章
PTT數位生活區 即時熱門文章
-1
10