셀렉트 버튼을 하나로하고 셀렉트 값을 나오도록 하려고요. 정보
셀렉트 버튼을 하나로하고 셀렉트 값을 나오도록 하려고요.본문
아래의 소스는 셀렉트 검색이 3개가 있습니다. 각각의 셀렉트는 검색이라는 버튼을 가지고 있습니다.
이 버튼를 하나로 만들고 싶습니다. 각 셀렉트를 선택했을시 그 선택된 셀렉트 값이 나오도록 하고, 셀렉트를 2개를 선택했을 시는 2개의 값이 나오고 .... 3개를 전부 선택했을 시에는 3개의 값이 나오도록 하려고요.
- 버튼을 하나로 만들고
- 셀렉트를 선택할시 값이 나오도록 하려고요.
열심히 만들어 보려고 노력을 했으나, 어렵네요. 대단히 감사합니다.
<form name=fsearch method=get style="margin:0px;">
<input type=hidden name=bo_table value="<?=$bo_table?>">
<input type=hidden name=sca value="<?=$sca?>">
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width="50%" align="right">
<input type=hidden name=sfl value="wr_10">
<select name=stx value=''>
<option value=''>A반</option>
<option value='나무1'>나무1</option>
<option value='나무2'>나무2</option>
<option value='나무3'>나무3</option>
</select>
<input type=image src="<?=$board_skin_path?>/img/search_btn.gif" border=0 align=absmiddle></td>
</tr>
</table>
</form>
<form name=fsearch method=get style="margin:0px;">
<input type=hidden name=bo_table value="<?=$bo_table?>">
<input type=hidden name=sca value="<?=$sca?>">
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width="50%" align="right">
<input type=hidden name=sfl value="wr_11">
<select name=stx value=''>
<option value=''>B반</option>
<option value='동물1'>동물1</option>
<option value='동물2'>동물2</option>
<option value='동물3'>동물3</option>
</select>
<input type=image src="<?=$board_skin_path?>/img/search_btn.gif" border=0 align=absmiddle></td>
</tr>
</table>
</form>
<form name=fsearch method=get style="margin:0px;">
<input type=hidden name=bo_table value="<?=$bo_table?>">
<input type=hidden name=sca value="<?=$sca?>">
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width="50%" align="right">
<input type=hidden name=sfl value="wr_12">
<select name=stx value=''>
<option value=''>C반</option>
<option value='식물1'>식물1</option>
<option value='식물2'>식물2</option>
<option value='식물3'>식물3</option>
</select>
<input type=image src="<?=$board_skin_path?>/img/search_btn.gif" border=0 align=absmiddle></td>
</tr>
</table>
</form>
감사합니다.
이 버튼를 하나로 만들고 싶습니다. 각 셀렉트를 선택했을시 그 선택된 셀렉트 값이 나오도록 하고, 셀렉트를 2개를 선택했을 시는 2개의 값이 나오고 .... 3개를 전부 선택했을 시에는 3개의 값이 나오도록 하려고요.
- 버튼을 하나로 만들고
- 셀렉트를 선택할시 값이 나오도록 하려고요.
열심히 만들어 보려고 노력을 했으나, 어렵네요. 대단히 감사합니다.
<form name=fsearch method=get style="margin:0px;">
<input type=hidden name=bo_table value="<?=$bo_table?>">
<input type=hidden name=sca value="<?=$sca?>">
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width="50%" align="right">
<input type=hidden name=sfl value="wr_10">
<select name=stx value=''>
<option value=''>A반</option>
<option value='나무1'>나무1</option>
<option value='나무2'>나무2</option>
<option value='나무3'>나무3</option>
</select>
<input type=image src="<?=$board_skin_path?>/img/search_btn.gif" border=0 align=absmiddle></td>
</tr>
</table>
</form>
<form name=fsearch method=get style="margin:0px;">
<input type=hidden name=bo_table value="<?=$bo_table?>">
<input type=hidden name=sca value="<?=$sca?>">
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width="50%" align="right">
<input type=hidden name=sfl value="wr_11">
<select name=stx value=''>
<option value=''>B반</option>
<option value='동물1'>동물1</option>
<option value='동물2'>동물2</option>
<option value='동물3'>동물3</option>
</select>
<input type=image src="<?=$board_skin_path?>/img/search_btn.gif" border=0 align=absmiddle></td>
</tr>
</table>
</form>
<form name=fsearch method=get style="margin:0px;">
<input type=hidden name=bo_table value="<?=$bo_table?>">
<input type=hidden name=sca value="<?=$sca?>">
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width="50%" align="right">
<input type=hidden name=sfl value="wr_12">
<select name=stx value=''>
<option value=''>C반</option>
<option value='식물1'>식물1</option>
<option value='식물2'>식물2</option>
<option value='식물3'>식물3</option>
</select>
<input type=image src="<?=$board_skin_path?>/img/search_btn.gif" border=0 align=absmiddle></td>
</tr>
</table>
</form>
감사합니다.
( 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 = '284247' 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