리플 달린것도 새글 처럼 올라와 있는데
이거 본문 제목만 보이고 리플은 안보이게 할수 있는 방법이 없을까요?
초자다 보니...^^
club 폴더에 ㅡ>club.lib.php 이 파일을 열어서 최신글 목록에..
$sql = " select * from $tmp_write_table where wr_comment > -1 and ca_name = '$ca_name' order by wr_id desc limit 0, $rows ";
위 부분을
$sql = " select * from $tmp_write_table where wr_comment = 0 and ca_name = '$ca_name' order by wr_id desc limit 0, $rows ";
이렇게도 고쳐 봤는데 이러면 리플단 본문이 안보이더군요 리플 안달린건 보이고요.그래서
$sql = " select * from $tmp_write_table where wr_is_comment = 0 and ca_name = '$ca_name' order by wr_id desc limit 0, $rows ";
이렇게 해봤더니 처음 카페 생성하면 에러가 뜨는군요 기존에 있는것은 제대로 되는데...
123 이란 카페 생성시 에러가...
select * from g4_write_123 where wr_is_comment = 0 and ca_name = '공지사항' order by wr_id desc limit 0, 5
1054 : Unknown column 'wr_is_comment' in 'where clause'
error file : /club/cb_main.php
이런 에러가 뜨네요
방법이 없을까요..
이거 본문 제목만 보이고 리플은 안보이게 할수 있는 방법이 없을까요?
초자다 보니...^^
club 폴더에 ㅡ>club.lib.php 이 파일을 열어서 최신글 목록에..
$sql = " select * from $tmp_write_table where wr_comment > -1 and ca_name = '$ca_name' order by wr_id desc limit 0, $rows ";
위 부분을
$sql = " select * from $tmp_write_table where wr_comment = 0 and ca_name = '$ca_name' order by wr_id desc limit 0, $rows ";
이렇게도 고쳐 봤는데 이러면 리플단 본문이 안보이더군요 리플 안달린건 보이고요.그래서
$sql = " select * from $tmp_write_table where wr_is_comment = 0 and ca_name = '$ca_name' order by wr_id desc limit 0, $rows ";
이렇게 해봤더니 처음 카페 생성하면 에러가 뜨는군요 기존에 있는것은 제대로 되는데...
123 이란 카페 생성시 에러가...
select * from g4_write_123 where wr_is_comment = 0 and ca_name = '공지사항' order by wr_id desc limit 0, 5
1054 : Unknown column 'wr_is_comment' in 'where clause'
error file : /club/cb_main.php
이런 에러가 뜨네요
방법이 없을까요..
댓글 3개
서수현
20년 전
안되는데요....ㅡ.ㅡ^
지금 이거 없앨려고 2틀째 씨름중인데 워낙에 초보라..힘드네요...^^
지금 이거 없앨려고 2틀째 씨름중인데 워낙에 초보라..힘드네요...^^
게시글 목록
| 번호 | 제목 |
|---|---|
| 322 | |
| 320 | |
| 314 | |
| 305 | |
| 301 | |
| 294 | |
| 285 | |
| 282 | |
| 280 | |
| 274 | |
| 270 | |
| 269 | |
| 266 | |
| 263 | |
| 261 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기