제목대신에 주소를 출력시키려면.. > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

제목대신에 주소를 출력시키려면.. 정보

제목대신에 주소를 출력시키려면..

본문

리스트에 제목대신에 주소를 출력시키려고 하는데요 (상세주소 는 빼고)
아래처럼 바꾸었는데 출력이 -- 이렇게만 돼 네요
$view_add2로 바꾸면 아예 안나오고요.
혹시 뭔가 잘못 바꾼건지
아시는 분 답좀 부탁드립니다.



$ex2_filed = explode("|",$view[wr_2]); //주소
$view_add1 = $ex2_filed[6] ." - ". $ex2_filed[7]." - ". $ex2_filed[8];
$view_add2 = $ex2_filed[9];





  <td class="subject">
            <?
            echo $nobr_begin;
            echo $list[$i][reply];
            echo $list[$i][icon_reply];
            if ($is_category && $list[$i][ca_name]) {
                echo "<span class=small><font color=f77516>[<a href='{$list[$i][ca_name_href]}'><font color=f77516>{$list[$i][ca_name]}</font></a>]</font></span> ";
            }

            if ($list[$i][is_notice])
                echo "<a href='{$list[$i][href]}'><span class='notice'>{$view_add1}</span></a>";
            else
                echo "<a href='{$list[$i][href]}'><font style='color:777777;'><b>{$view_add1}</font></a>";
  • 복사

( 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 = '225350' 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