(PHP) 페이지 매김
// Gnuboard 기반이므로 DB 관련 코드 수정이 필요할 수 있습니다.// GNU 게시판의 페이지 기능을 사용할 수 있으나 게시판이 아닌 경우 사용이 복잡하여 아래 코드를 사용합니다. $tbname=”g5_company_list”; $n_limit = 15; $pg = $_GET(‘pg’); $bo_table = $_GET(‘bo_table’); $stx = $_GET(‘stx’); $qstr = “bo_table=”.$_GET(‘bo_table’); if($_GET(‘stx’)){ $qstr .= “&stx=”.$_GET(‘stx’); } $qstr .= “&pg=”; $sql_where=””; if($stx){ $sql_where .= “where comp_name … Read more