첫번째한개만되요.. > 그누4 질문답변

그누4 질문답변

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

첫번째한개만되요.. 정보

첫번째한개만되요..

본문

function sendit()
{
var str;
str=document.getElementById('what').value;

str = '../gnuboard4/bbs/board.php?bo_table=abc&sca=&sfl=state%7C%7Calarm%7C%7Cca_thema%7C%7Cmb_id%7C%7Cca_name%7C%7Csi%7C%7Cgu%7C%7Cdong%7C%7Cwhat&si=&gu=&dong=&ca_name=&ca_thema=&state=%EB%93%B1%EB%A1%9D&stx=%EB%93%B1%EB%A1%9D+1+++++++'+str+'+&mb_id=&alarm=1&what='+str+'&cstyle=6&sop=and';
str = str+'';

parent.document.gForm.target='myfrm';
parent.document.gForm.action = str;
parent.document.gForm.submit();
alert(str);
//return true;
}


<input type="image" src="images/main_images/gnb_menu20.gif" name="menu" id='what'  stus='off' pos='02' style='cursor:pointer;cursor:hand;border:0' value="%EB%A7%A4%EB%A7%A4" onclick="sendit(this)"border="0"height="38" width="43" /><input type="image" src="images/main_images/gnb_menu21.gif" name="menu" id='what' stus='off' pos='03' style='cursor:pointer;cursor:hand;border:0' value="%EC%A0%84%EC%84%B8" onclick="sendit(this)"border="0"height="38" width="45" /><input type="image" src="images/main_images/gnb_menu22.gif" name="menu" id='what' value="%EC%9B%94%EC%84%B8"  stus='off' pos='04' style='cursor:pointer;cursor:hand;border:0'onclick="sendit(this)"border="0"height="38" width="43" />

이케하면 첫번째 input type=image만 되요;
 어떻게하면 2번째꺼를 선택햇을떄 맞게 value가 갈까요?

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