답변 1개
채택된 답변
+20 포인트
11년 전
그누4용인데 5에 적용해보니 되긴 합니다.
http://sir.co.kr/bbs/board.php?bo_table=g4_qa&wr_id=199310">http://sir.co.kr/bbs/board.php?bo_table=g4_qa&wr_id=199310
아래 php코드를 extend 폴더에 저장
<?
function get_wrid($bo_table){
global $g5;
$write_table=$g5[write_prefix].$bo_table;
$row=sql_fetch("select wr_id from $write_table order by wr_num limit 1");
return $row[wr_id];
}
?>
메뉴 링크 방법
<a href="<?php echo G5_BBS_URL ?>/board.php?bo_table=free&wr_id=<?=get_wrid('게시판1')?>">게시판1</a>
로그인 후 평가할 수 있습니다
답변에 대한 댓글 1개
H
HMHM
11년 전
잘 되었습니다. 알려 주셔서 감사합니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인