|
|
|
22년 전
|
조회 407
|
|
|
|
22년 전
|
조회 797
|
|
|
|
22년 전
|
조회 901
|
|
|
|
22년 전
|
조회 484
|
|
|
|
22년 전
|
조회 406
|
|
|
|
22년 전
|
조회 619
|
|
|
|
22년 전
|
조회 303
|
|
|
|
22년 전
|
조회 947
|
|
|
관리자
|
22년 전
|
조회 550
|
|
|
|
22년 전
|
조회 397
|
|
|
|
22년 전
|
조회 604
|
|
|
|
22년 전
|
조회 392
|
|
|
|
22년 전
|
조회 297
|
|
|
|
22년 전
|
조회 384
|
|
|
|
22년 전
|
조회 328
|
|
|
|
22년 전
|
조회 452
|
|
|
|
22년 전
|
조회 394
|
|
|
|
22년 전
|
조회 315
|
|
|
|
22년 전
|
조회 323
|
|
|
|
22년 전
|
조회 463
|
댓글 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 ";