그룹별 게시판 목록을 만들려고 하는데 잘 안됩니다.
$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
=========================================================================================
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 5개
그런가요?
분명히 있었는데....
잘못 봤나 봅니다.
3.**버전하고 왔다갔다 하니까 헷갈리네요.
잘 됩니다.
감사합니다. ^^*
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