|
|
|
22년 전
|
조회 437
|
|
|
|
22년 전
|
조회 835
|
|
|
|
22년 전
|
조회 938
|
|
|
|
22년 전
|
조회 513
|
|
|
|
22년 전
|
조회 444
|
|
|
|
22년 전
|
조회 654
|
|
|
|
22년 전
|
조회 339
|
|
|
|
22년 전
|
조회 991
|
|
|
관리자
|
22년 전
|
조회 588
|
|
|
|
22년 전
|
조회 435
|
|
|
|
22년 전
|
조회 636
|
|
|
|
22년 전
|
조회 435
|
|
|
|
22년 전
|
조회 338
|
|
|
|
22년 전
|
조회 427
|
|
|
|
22년 전
|
조회 365
|
|
|
|
22년 전
|
조회 484
|
|
|
|
22년 전
|
조회 428
|
|
|
|
22년 전
|
조회 348
|
|
|
|
22년 전
|
조회 360
|
|
|
|
22년 전
|
조회 501
|
댓글 1개
http://www.sir.co.kr/?doc=bbs/gnuboard.php&bo_table=qa&page=1&wr_id=6666
다음과 같이 하면 해당하는 카테고리값의 리스트를 뽑을겁니다.
$ca_id = 1; // 1번카테고리만 뽑고자할경우
$sql = " select a.*, mb_open
from {$cfg[write_table_prefix]}{$bo_table} a
left join $cfg[table_member] b on (b.mb_id = a.mb_id)
where a.wr_comment = 0
and ca_id=$ca_id
order by a.wr_id desc limit 0, $rows ";