그룹별 게시판 목록을 만들려고 하는데 잘 안됩니다. 정보
질문 그룹별 게시판 목록을 만들려고 하는데 잘 안됩니다.
본문
$sql = " select bo_subject, bo_table, gr_id, bo_total_count from $g4[group_table] where gr_id = '$row[gr_id]' order by bo_subject ";
위 문장에서 잘못된 부분이 있나요?
아래와 같은 에러메세지를 내뱉습니다. ㅠ.ㅠ
===================================================================================
select bo_subject, bo_table, gr_id, bo_total_count from g4_group where gr_id = 'gr_01' order by bo_subject
1054 : Unknown column 'bo_subject' in 'field list'
error file : /g4/1/group.php
=========================================================================================
위 문장에서 잘못된 부분이 있나요?
아래와 같은 에러메세지를 내뱉습니다. ㅠ.ㅠ
===================================================================================
select bo_subject, bo_table, gr_id, bo_total_count from g4_group where gr_id = 'gr_01' order by bo_subject
1054 : Unknown column 'bo_subject' in 'field list'
error file : /g4/1/group.php
=========================================================================================
댓글 전체

헛!
그런가요?
분명히 있었는데....
잘못 봤나 봅니다.
3.**버전하고 왔다갔다 하니까 헷갈리네요.
잘 됩니다.
감사합니다. ^^*
그런가요?
분명히 있었는데....
잘못 봤나 봅니다.
3.**버전하고 왔다갔다 하니까 헷갈리네요.
잘 됩니다.
감사합니다. ^^*

bo_total_count 는 없어졌는데요. ㅜㅜ
bo_count_write , bo_count_comment 로 대체하세요.
bo_count_write , bo_count_comment 로 대체하세요.

관리자님 말씀대로 했더니 다음과 같은 애러가 나옵니다.
===============================================================================================
select bo_subject, bo_table, gr_id, bo_total_count from g4_board where gr_id = 'gr_01' order by bo_subject
1054 : Unknown column 'bo_total_count' in 'field list'
error file : /g4/1/group.php
===============================================================================================
select bo_subject, bo_table, gr_id, bo_total_count from g4_board where gr_id = 'gr_01' order by bo_subject
1054 : Unknown column 'bo_total_count' in 'field list'
error file : /g4/1/group.php

$sql = " select bo_subject, bo_table, gr_id, bo_total_count from $g4[board_table] where gr_id = '$row[gr_id]' order by bo_subject ";
ㅋㅋㅋ