오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 :
[code]
<?
$image = $list[$i][file][0][file]; //원본
$img=$data_path. "/".$image; //썸네일이 없을경우 원본출력
echo "JUMPOPREMIUM.item[$j] = JUMPOPREMIUM.item[$j] + \"<td width='$col_width%' height='110' align='center' valign='top'>".$list[$i][icon_reply]."<table width='130' cellpadding='0' cellspacing='0' border='0' style='background-repeat:no-repeat; background-image:url(./img/bg.gif);'><tr><td valign='top' align='center' height='100'><table width='100%' cellpadding='0' cellspacing='0' border='0'><tr><td valign='middle' align='center' height='36'><a href='{$list[$i]['href']}'><div style='font-size:11px; font-family:돋움, 굴림; letter-spacing:-0.1em; word-break:break-all; color:#000; width:118px; font-weight:bold;'><font color=000>{$list[$i]['wr_subject']}</font></a></div></td></tr><tr><td valign='middle' align='center' height='65'><div style='font-size:11px; width:110px; text-align:center; font-family:돋움, 굴림; color:#000; word-break:break-all; letter-spacing:-0.05em;'><a href='{$list[$i]['href']}'><font color=000>{$list[$i]['wr_10']} / {$list[$i]['wr_2']} / {$list[$i]['wr_1']} / ".intval($list[$i]['wr_13'])."㎡</font><여기요></a></div></td></tr></table></td></tr></table></td>\";";
if($i+1 == count($list))
echo "JUMPOPREMIUM.item[$j] = JUMPOPREMIUM.item[$j] + \"</tr></table>\";";
}
?>
[/code]
위 소스에 <여기요> 부분에 아래 소스를 넣어야 하는데 에러가 납니다.
위 소스와 코드형식이 달라서 그런데 대충 넣으면 데이터는 나오는데 IF를 인식을 못합니다.
[code]
<? if ($list[$i]['wr_21'] != '') { ?>
<?=$list[$i]['wr_21']?>
<? } ?>
<? if ($list[$i]['wr_22'] != '') { ?>
<?=$list[$i]['wr_22']?>
<? } ?>
<? if ($list[$i]['wr_23'] != '') { ?>
/
<?=$list[$i]['wr_23']?>
<? } ?>
[/code]
오류 주소 :
[code]
<?
$image = $list[$i][file][0][file]; //원본
$img=$data_path. "/".$image; //썸네일이 없을경우 원본출력
echo "JUMPOPREMIUM.item[$j] = JUMPOPREMIUM.item[$j] + \"<td width='$col_width%' height='110' align='center' valign='top'>".$list[$i][icon_reply]."<table width='130' cellpadding='0' cellspacing='0' border='0' style='background-repeat:no-repeat; background-image:url(./img/bg.gif);'><tr><td valign='top' align='center' height='100'><table width='100%' cellpadding='0' cellspacing='0' border='0'><tr><td valign='middle' align='center' height='36'><a href='{$list[$i]['href']}'><div style='font-size:11px; font-family:돋움, 굴림; letter-spacing:-0.1em; word-break:break-all; color:#000; width:118px; font-weight:bold;'><font color=000>{$list[$i]['wr_subject']}</font></a></div></td></tr><tr><td valign='middle' align='center' height='65'><div style='font-size:11px; width:110px; text-align:center; font-family:돋움, 굴림; color:#000; word-break:break-all; letter-spacing:-0.05em;'><a href='{$list[$i]['href']}'><font color=000>{$list[$i]['wr_10']} / {$list[$i]['wr_2']} / {$list[$i]['wr_1']} / ".intval($list[$i]['wr_13'])."㎡</font><여기요></a></div></td></tr></table></td></tr></table></td>\";";
if($i+1 == count($list))
echo "JUMPOPREMIUM.item[$j] = JUMPOPREMIUM.item[$j] + \"</tr></table>\";";
}
?>
[/code]
위 소스에 <여기요> 부분에 아래 소스를 넣어야 하는데 에러가 납니다.
위 소스와 코드형식이 달라서 그런데 대충 넣으면 데이터는 나오는데 IF를 인식을 못합니다.
[code]
<? if ($list[$i]['wr_21'] != '') { ?>
<?=$list[$i]['wr_21']?>
<? } ?>
<? if ($list[$i]['wr_22'] != '') { ?>
<?=$list[$i]['wr_22']?>
<? } ?>
<? if ($list[$i]['wr_23'] != '') { ?>
/
<?=$list[$i]['wr_23']?>
<? } ?>
[/code]
댓글 4개
echo 문 전에
[code]
if ($list[$i]['wr_21'] != '') $list[$i][wr_2_temp] = $list[$i]['wr_21'];
else if ($list[$i]['wr_22'] != '') $list[$i][wr_2_temp] = $list[$i]['wr_22'];
else if ($list[$i]['wr_23'] != '') $list[$i][wr_2_temp] = $list[$i]['wr_23'];
[/code]
<여기요> 부분에 {$list[$i][wr_2_temp]}
이렇게 해보세요
[code]
if ($list[$i]['wr_21'] != '') $list[$i][wr_2_temp] = $list[$i]['wr_21'];
else if ($list[$i]['wr_22'] != '') $list[$i][wr_2_temp] = $list[$i]['wr_22'];
else if ($list[$i]['wr_23'] != '') $list[$i][wr_2_temp] = $list[$i]['wr_23'];
[/code]
<여기요> 부분에 {$list[$i][wr_2_temp]}
이렇게 해보세요
게시글 목록
| 번호 | 제목 |
|---|---|
| 284438 | |
| 284437 | |
| 284435 | |
| 284430 | |
| 284420 | |
| 284417 | |
| 284409 | |
| 284401 | |
| 284399 | |
| 284397 | |
| 284380 | |
| 284378 | |
| 284371 | |
| 284370 | |
| 284366 | |
| 284364 | |
| 284360 | |
| 284357 | |
| 284355 | |
| 284354 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기