latest.lib.php 파일 내용 질문드립니다. 정보
latest.lib.php 파일 내용 질문드립니다.본문
$g4[board_table] => g4_board 로 바꾸어 주면 되나요 ?
g4_board 역할이 무엇인지 ?
새로 만든게시판이 test 일때 둘중 어느것으로 해주어야 하나요 ?
$sql = " select * from g4_board where bo_table = test";
$sql = " select * from g4_board where bo_table = g4_write_test";
도움주시면 감사드립니다. ^^*
(latest.lib.php)
$list = array();
$sql = " select * from $g4[board_table] where bo_table = '$bo_table'";
$board = sql_fetch($sql);
$board = sql_fetch($sql);
======
(config.php)
$g4['table_prefix'] = "g4_"; // 테이블명 접두사
$g4['write_prefix'] = $g4['table_prefix'] . "write_"; // 게시판 테이블명 접두사
$g4['board_table'] = $g4['table_prefix'] . "board"; // 게시판 설정 테이블
$g4['write_prefix'] = $g4['table_prefix'] . "write_"; // 게시판 테이블명 접두사
$g4['board_table'] = $g4['table_prefix'] . "board"; // 게시판 설정 테이블
댓글 전체
g4_board 테이블에대한것은 그누사전 게시판 참고
http://sir.co.kr/bbs/board.php?bo_table=g4_dic&wr_id=182
게시판 test를 만들었을경우는 다음처럼
$sql = " select * from g4_board where bo_table = test";
http://sir.co.kr/bbs/board.php?bo_table=g4_dic&wr_id=182
게시판 test를 만들었을경우는 다음처럼
$sql = " select * from g4_board where bo_table = test";
감사드립니다. root 님 좋은하루되세요.. ^^*