|
|
|
10-09-17
|
조회 1,562
|
|
|
|
10-09-17
|
조회 1,640
|
|
|
|
10-09-17
|
조회 1,584
|
|
|
|
10-09-17
|
조회 1,969
|
|
|
|
10-09-17
|
조회 2,297
|
|
|
|
10-09-17
|
조회 1,637
|
|
|
|
10-09-17
|
조회 2,129
|
|
|
|
10-09-17
|
조회 1,626
|
|
|
|
10-09-17
|
조회 1,687
|
|
|
|
10-09-17
|
조회 1,950
|
|
|
|
10-09-17
|
조회 1,629
|
|
|
|
10-09-17
|
조회 2,190
|
|
|
|
10-09-16
|
조회 2,457
|
|
|
|
10-09-16
|
조회 1,780
|
|
|
|
10-09-16
|
조회 1,701
|
|
|
|
10-09-16
|
조회 1,638
|
|
|
|
10-09-16
|
조회 1,639
|
|
|
|
10-09-16
|
조회 1,717
|
|
|
|
10-09-16
|
조회 2,031
|
|
|
|
10-09-16
|
조회 1,567
|
댓글 6개
$row=sql_fetch($sql);
echo $row[wr_datetime];
다른 방법이 없을까요?
쿼리문만 올려 드렸는데 어떻게 적용하셨는지 궁금하네요
<td class="name">
<? if($list[$i][comment_cnt]) { ?>
<b>완료</b>
<br />
<?
$sql = " select * from $g4[write_prefix]$bo_table where wr_parent = '$list[$i][wr_id]' and wr_is_comment = 1 order by wr_comment, wr_comment_reply ";
$row=sql_fetch($sql);
echo $row[wr_datetime];
?>
<? } else { ?>
대기
<? } ?>
</td>
이렇게 사용하려고 하는데 아무리 머리를 싸메고 연구해봐도 안되고 있네요..
$sql = " select * from $g4[write_prefix]$bo_table where wr_parent = '{$list[$i][wr_id]}' and wr_is_comment = 1 order by wr_comment, wr_comment_reply ";
중괄호 넣어 주세요~^^
어제부터 이거랑 씨름했는데 원인이 {} 였네요..;.
감사합니다..