getCount(); $max_page = ceil($max_count/$list_max_count); $list = $db->getList($page, $list_max_count); // $db->query("SELECT SQL_CALC_FOUND_ROWS * FROM xxx WHERE name='abc' LIMIT 100,10"); // $max_count = $db->getOne("SELECT FOUND_ROWS()"); ?> Document

留言板

0) { ?> 0) { echo '
id title updated_at action
'; foreach ($list as $key => $item) { echo ' '; } echo '
id title updated_at action
'.$item['id'].' '.$item['title'].' '.$item['updated_at'].'
'; } else { echo '無資料'; } ?>