답변 2개 / 댓글 4개
채택된 답변
+20 포인트
2021-05-12 (수) 18:57:56
https://stackoverflow.com/questions/812925/what-is-the-maximum-possible-length-of-a-query-string
<form action="get"
을 post로 바꾸어서 해 보세요.
답변에 대한 댓글 2개
qoqofh
2021-05-12 (수) 19:02:36
2021-05-12 (수) 19:08:37
<form name="fsearch" method="get"
를
<form name="fsearch" method="post"
로 바꿔 보세요.
를
<form name="fsearch" method="post"
로 바꿔 보세요.
마르스컴퍼니
2021-05-12 (수) 20:47:11
php 구문이 많아서가 아니라.. 구문을 잘 못 적용해서 입니다.
※ https://m.blog.naver.com/PostView.nhn?blogId=tt2t2am1118&logNo=221007506544
※ https://itlove.tistory.com/1678
Copy
<form name="fsearch" method="get" class="main_form">
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
<input type="hidden" name="sop" value="and">
<label for="sfl" class="sound_only">검색대상</label>
<table class="srch_tbl">
<tr>
<th scope="row">1</th>
<td>
<label><input type="radio" name="wr_2" value="1" <? if($_GET['wr_2'] == "1"){ echo 'checked'; } ?>> 1</label>
<label><input type="radio" name="wr_2" value="2" <? if($_GET['wr_2'] == "2"){ echo 'checked'; } ?>> 2</label>
</tr>
<?php if (/*$wr_1=='e1'&&*/$wr_2=='ex2'&&$wr_4=='ex3'&&$wr_7=='ex3') { ?>
<tr class='aa'>
<th scope='row'>선택</th>
<td>
<select name='wr_3' id='wr_3' class='frm_input sel1111_main'>
<option value='(가)1'>(가)1</option>
<option value='(가)2'>(가)2</option>
</select>
</td>
</tr>
<?php } else { ?>
<select name='wr_8' id='wr_8' class='frm_input sel1111_1_sub sub_sel'>
<option value='[1-1]'>[1-1]</option>
<option value='[1-2]'>[1-2]</option>
</select>"
<?php } ?>
답변에 대한 댓글 2개
qoqofh
2021-05-13 (목) 12:10:31
구문문제떄문에,
도메인이
bbs/board.php?bo_table=contetnts&sop=and&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=%5B1
이런식으로 나오는걸까요..?
도메인이
bbs/board.php?bo_table=contetnts&sop=and&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=&wr_8=%5B1
이런식으로 나오는걸까요..?
qoqofh
2021-05-13 (목) 12:20:29
답변을 작성하려면 로그인이 필요합니다.
<form name="fsearch" method="get" class="main_form">
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
<input type="hidden" name="sop" value="and">
<label for="sfl" class="sound_only">검색대상</label>
<table class="srch_tbl">
<tr>
<th scope="row">1</th>
<td>
<label><input type="radio" name="wr_2" value="1" <? if($_GET['wr_2'] == "1"){ echo 'checked'; } ?>> 1</label>
<label><input type="radio" name="wr_2" value="2" <? if($_GET['wr_2'] == "2"){ echo 'checked'; } ?>> 2</label>
</tr>
if (/*$wr_1=='e1'&&*/$wr_2=='ex2'&&$wr_4=='ex3'&&$wr_7=='ex3') {
echo "<tr class='aa'>
<th scope='row'>선택</th>
<td>
<select name='wr_3' id='wr_3' class='frm_input sel1111_main'>
<option value='(가)1'>(가)1</option>
<option value='(가)2'>(가)2</option>
</select>
</td>
</tr>";
}
echo "
<select name='wr_8' id='wr_8' class='frm_input sel1111_1_sub sub_sel'>
<option value='[1-1]'>[1-1]</option>
<option value='[1-2]'>[1-2]</option>
</select>";
[/code]
뭐 이런식으로 진짜 많은데,,,,, form만 바꾼다고해서 안되는거같더라구요...