cnt, cf_page_rows 땀표 정리 및 #47의 1에 따른 처리

This commit is contained in:
whitedot committed 2012-11-16 10:39:15 +09:00
1 parent 1149d86cf7
commit 09bc4e69b2
24 files changed
+48 -47

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ $sql = " select count(*) as cnt
{$sql_search}
{$sql_order} ";
$row = sql_fetch($sql);
$total_count = $row['cnt'];
$total_count = $row[cnt];
$rows = $config[cf_page_rows];
$total_page = ceil($total_count / $rows); // 전체 페이지 계산