소스 문의 드립니다. 정보
소스 문의 드립니다.본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 :
위 소스에 <여기요> 부분에 아래 소스를 넣어야 하는데 에러가 납니다.
위 소스와 코드형식이 달라서 그런데 대충 넣으면 데이터는 나오는데 IF를 인식을 못합니다.
오류 주소 :
<?
$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>\";";
}
?>
위 소스에 <여기요> 부분에 아래 소스를 넣어야 하는데 에러가 납니다.
위 소스와 코드형식이 달라서 그런데 대충 넣으면 데이터는 나오는데 IF를 인식을 못합니다.
<? 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']?>
<? } ?>
( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_parent = '283255' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )
1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
error file : /15sir/bbs/board.php