이게 잘못된 코딩인가요 ? 정보
이게 잘못된 코딩인가요 ?첨부파일
본문
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=92516&sca=&sfl=wr_subject%7C%7Cwr_content&stx=%EC%A0%84%EA%B4%91%ED%8C%90&sop=and
이 스킨을 고쳐서 여러개의 게시판을 출력할 수 있도록 lib 함수를 만들었습니다.
그런데 클릭하면 게시판 그룹으로만 이동하고 글내용까지 이동이 안되더라고요..
<script>
saybox_display.add("<?=$list[$i][bo_subject]?> :
<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$list[$i][bo_table]?>
&wr_id=<?=$list[$i][wr_id]?>'><?=$list[$i][wr_subject]?></a>");
</script>
게시글 클릭하는 부분은 이렇게 되어있거든요?
도대체 뭐가 잘못된건지를 모르겠네요.........
뭐가 잘못된 건가요??
//ps
http://sir.co.kr/bbs/board.php?bo_table=g4_qa&wr_id=232540#c_232589
첨부파일 올려두었고 이 질문글에 나머지 소스들은 전부 들어있습니다.
이 스킨을 고쳐서 여러개의 게시판을 출력할 수 있도록 lib 함수를 만들었습니다.
그런데 클릭하면 게시판 그룹으로만 이동하고 글내용까지 이동이 안되더라고요..
<script>
saybox_display.add("<?=$list[$i][bo_subject]?> :
<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$list[$i][bo_table]?>
&wr_id=<?=$list[$i][wr_id]?>'><?=$list[$i][wr_subject]?></a>");
</script>
게시글 클릭하는 부분은 이렇게 되어있거든요?
도대체 뭐가 잘못된건지를 모르겠네요.........
뭐가 잘못된 건가요??
//ps
http://sir.co.kr/bbs/board.php?bo_table=g4_qa&wr_id=232540#c_232589
첨부파일 올려두었고 이 질문글에 나머지 소스들은 전부 들어있습니다.
( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_parent = '232951' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )
1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
error file : /15sir/bbs/board.php