view 화면 출력 문제 정보
view 화면 출력 문제첨부파일
본문
처음에 글쓰기 하면은 칸수를 16칸으로 늘려놨는데
view 화면에서 보면은 8칸 밖에 안나오네요
이것저것 검색해봤는데 for 무슨 선언 이런 말이 나오는데 전문가가 아니라서..
view 스킨의
---------------------------------------
<? $s = 0;
for($i=0; $i<(count($wr_3_)/3);$i++){?>
<?if($wr_3_[$s]){?>
<tr>
<td width="120" style="border-left-width:2px; border-left-color:black; border-left-style:solid;font-weight:bold;" height="30" align="center">
<?=$i+1?>
</td>
<td width="120" height="30" align="center">
<?
if($wr_3_[$s]){
echo $wr_3_[$s];
}else{
echo " ";
}
?>
</td>
<td colspan="4" height="30" align="center">
<?
if($wr_3_[$s+1]){
echo $wr_3_[$s+1];
}else{
echo " ";
}
?>
</td>
<td colspan="3" style="border-right-width:2px; border-right-color:black; border-right-style:solid;" height="30" align="center">
<?
if($wr_3_[$s+2]){
echo number_format($wr_3_[$s+2])." ";
}else{
echo " ";
}
?>
<?$sum += $wr_3_[$s+2];?>
</td>
</tr>
<?}?>
<?
$s += 3;
}
?>
-------------------------------------------------
이부분인거 같은데 숫자를 바꿔보기도 하고 햇는데 숫자를 바꾸니
아예 아무것도 출력이 안되는 현상이 발생하네요;
뭐가 문제일까요..
view 화면에서 보면은 8칸 밖에 안나오네요
이것저것 검색해봤는데 for 무슨 선언 이런 말이 나오는데 전문가가 아니라서..
view 스킨의
---------------------------------------
<? $s = 0;
for($i=0; $i<(count($wr_3_)/3);$i++){?>
<?if($wr_3_[$s]){?>
<tr>
<td width="120" style="border-left-width:2px; border-left-color:black; border-left-style:solid;font-weight:bold;" height="30" align="center">
<?=$i+1?>
</td>
<td width="120" height="30" align="center">
<?
if($wr_3_[$s]){
echo $wr_3_[$s];
}else{
echo " ";
}
?>
</td>
<td colspan="4" height="30" align="center">
<?
if($wr_3_[$s+1]){
echo $wr_3_[$s+1];
}else{
echo " ";
}
?>
</td>
<td colspan="3" style="border-right-width:2px; border-right-color:black; border-right-style:solid;" height="30" align="center">
<?
if($wr_3_[$s+2]){
echo number_format($wr_3_[$s+2])." ";
}else{
echo " ";
}
?>
<?$sum += $wr_3_[$s+2];?>
</td>
</tr>
<?}?>
<?
$s += 3;
}
?>
-------------------------------------------------
이부분인거 같은데 숫자를 바꿔보기도 하고 햇는데 숫자를 바꾸니
아예 아무것도 출력이 안되는 현상이 발생하네요;
뭐가 문제일까요..
( 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 = '282610' 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

