날짜 오류 - 작성 날짜가 항상 오늘날짜로 바뀜
<li>
<div style="padding-left:5px;">
<span class="bu">›</span>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i]['subject']}</font>";
echo "</a>";
if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i]['comment_cnt']}</span></a>";
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
/**
echo " " . $list[$i]['icon_new'];
echo " " . $list[$i]['icon_file'];
echo " " . $list[$i]['icon_link'];
echo " " . $list[$i]['icon_hot'];
echo " " . $list[$i]['icon_secret']; **/
?>
<span class="time"><?=$list[$i]['wr_datetime']?></span>
</div>
</li>
이렇게 되어 있습니다.
그런데 날짜가 글작성일로 나오는게 아니라 첨부 이미지 처럼 같은날짜로 바뀌게 되네요.
뭐가 잘못된 걸까요?
<div style="padding-left:5px;">
<span class="bu">›</span>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i]['subject']}</font>";
echo "</a>";
if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i]['comment_cnt']}</span></a>";
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
/**
echo " " . $list[$i]['icon_new'];
echo " " . $list[$i]['icon_file'];
echo " " . $list[$i]['icon_link'];
echo " " . $list[$i]['icon_hot'];
echo " " . $list[$i]['icon_secret']; **/
?>
<span class="time"><?=$list[$i]['wr_datetime']?></span>
</div>
</li>
이렇게 되어 있습니다.
그런데 날짜가 글작성일로 나오는게 아니라 첨부 이미지 처럼 같은날짜로 바뀌게 되네요.
뭐가 잘못된 걸까요?
댓글 3개
14년 전
출력부분은 문제가 없는듯 하네요..
다른부분 (업데이트 or 리스트 or 내용보기) 부분에서 업데이트 시켜주는곳이 있나 확인해 보심이..
다른부분 (업데이트 or 리스트 or 내용보기) 부분에서 업데이트 시켜주는곳이 있나 확인해 보심이..
14년 전
<span class="time"><?=$list[$i]['wr_datetime']?></span>
=======================================================
<span class="time"><?=$list[$i]['datetime']?></span>
=======================================================
<span class="time"><?=$list[$i]['datetime']?></span>
14년 전
고돌스님 답변 감사합니다.
답변에 힌트를 얻어 일반 게시판의 글작성일 함수값을 그대로 넣었더니 되었습니다.
정말 감사합니다.
답변에 힌트를 얻어 일반 게시판의 글작성일 함수값을 그대로 넣었더니 되었습니다.
정말 감사합니다.
게시판 목록
그누4 질문답변
그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.
기존 게시물은 열람만 가능합니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 66454 | 11년 전 | 3462 | ||
| 66453 | 11년 전 | 2860 | ||
| 66452 |
jumphu
|
11년 전 | 3168 | |
| 66451 | 11년 전 | 2034 | ||
| 66450 | 11년 전 | 3170 | ||
| 66449 |
겸손1935
|
11년 전 | 3103 | |
| 66448 | 11년 전 | 2891 | ||
| 66447 |
열라뽕똬이
|
11년 전 | 2286 | |
| 66446 | 11년 전 | 3760 | ||
| 66445 | 11년 전 | 2601 | ||
| 66444 | 11년 전 | 3217 | ||
| 66443 | 11년 전 | 2724 | ||
| 66442 |
missGo
|
11년 전 | 3175 | |
| 66441 | 11년 전 | 2725 | ||
| 66440 | 11년 전 | 2753 | ||
| 66439 | 11년 전 | 3047 | ||
| 66438 | 11년 전 | 11576 | ||
| 66437 |
heon2slow
|
11년 전 | 3505 | |
| 66436 | 11년 전 | 2731 | ||
| 66435 | 11년 전 | 2509 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기