스크랩 글자수를 줄이고 싶어요 정보
스크랩 글자수를 줄이고 싶어요본문
고수님들 안녕하세요.
게시판 글자수를 못 줄이고 있어 몇시간째 헤메고 있습니다.
답변 좀 부탁드려요...T_T
member 스킨 파일에 보면
scrap.skin.php 파일이 있는데
<? for ($i=0; $i<count($list); $i++) { ?>
<tr height=25 bgcolor="#F6F6F6" align="center">
<td height="24"><?=$list[$i][num]?></td>
<td><a href="javascript:;" onclick="opener.document.location.href='<?=$list[$i][opener_href]?>';"><?=$list[$i][bo_subject]?></a></td>
<td align="left" style='word-break:break-all;'> <a href="javascript:;" onclick="opener.document.location.href='<?=$list[$i][opener_href_wr_id]?>';"><?=$list[$i][subject]?></a></td>
<td><?=$list[$i][ms_datetime]?></td>
<td><a href="javascript:del('<?=$list[$i][del_href]?>');"><img src="<?=$member_skin_path?>/img/btn_comment_delete.gif" width="45" height="14" border="0"></a></td>
</tr>
<? } ?>
위 소스에 보면
<?=$list[$i][subject]?>
제목 글자수를 줄이고 싶은데 어떻게 해야 하나요?
T_T
게시판 글자수를 못 줄이고 있어 몇시간째 헤메고 있습니다.
답변 좀 부탁드려요...T_T
member 스킨 파일에 보면
scrap.skin.php 파일이 있는데
<? for ($i=0; $i<count($list); $i++) { ?>
<tr height=25 bgcolor="#F6F6F6" align="center">
<td height="24"><?=$list[$i][num]?></td>
<td><a href="javascript:;" onclick="opener.document.location.href='<?=$list[$i][opener_href]?>';"><?=$list[$i][bo_subject]?></a></td>
<td align="left" style='word-break:break-all;'> <a href="javascript:;" onclick="opener.document.location.href='<?=$list[$i][opener_href_wr_id]?>';"><?=$list[$i][subject]?></a></td>
<td><?=$list[$i][ms_datetime]?></td>
<td><a href="javascript:del('<?=$list[$i][del_href]?>');"><img src="<?=$member_skin_path?>/img/btn_comment_delete.gif" width="45" height="14" border="0"></a></td>
</tr>
<? } ?>
위 소스에 보면
<?=$list[$i][subject]?>
제목 글자수를 줄이고 싶은데 어떻게 해야 하나요?
T_T
( 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 = '225626' 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