|
|
|
14년 전
|
조회 1,178
|
|
|
|
14년 전
|
조회 1,217
|
|
|
|
14년 전
|
조회 2,040
|
|
|
|
14년 전
|
조회 926
|
|
|
|
14년 전
|
조회 806
|
|
|
|
14년 전
|
조회 931
|
|
|
|
14년 전
|
조회 988
|
|
|
|
14년 전
|
조회 991
|
|
|
예감
|
14년 전
|
조회 1,586
|
|
|
|
14년 전
|
조회 2,583
|
|
|
|
14년 전
|
조회 4,319
|
|
|
|
14년 전
|
조회 1,585
|
|
|
|
14년 전
|
조회 2,131
|
|
|
|
14년 전
|
조회 797
|
|
|
|
14년 전
|
조회 942
|
|
|
|
14년 전
|
조회 1,128
|
|
|
|
14년 전
|
조회 1,458
|
|
|
|
14년 전
|
조회 3,184
|
|
|
|
14년 전
|
조회 1,671
|
|
|
|
14년 전
|
조회 1,736
|
댓글 4개
위에 있는 주석친걸 풀어주고 아래껄 주석처리하시면 됩니다.
// 코멘트 출력
//$sql = " select * from $write_table where wr_parent = '$wr_id' and wr_is_comment = 1 order by wr_comment desc, wr_comment_reply ";
$sql = " select * from $write_table where wr_parent = '$wr_id' and wr_is_comment = 1 order by wr_comment, wr_comment_reply ";
// 코멘트 출력
$sql = " select * from $write_table where wr_parent = '$wr_id' and wr_is_comment = 1 order by wr_comment, wr_comment_reply ";
이부분이 있습니다. order by 가 정렬을 해주는 것이지요
order by wr_datetime asc 나 desc 로 바꿔주시면 됩니다. asc 오름차순 desc는 내림차순.