2016-09-22 3 views
0

를 완료 한 후 URL에 변수를 제출 보여주는 아니 내가 가지고있는 결과가된다 양식이

<form class="form-horizontal"> 
<fieldset> 


<!-- Text input--> 
<div class="form-group"> 
    <label class="col-md-4 control-label" for="zip">ZIP: </label> 
    <div class="col-md-4"> 
    <input id="zip" name="zip" type="text" placeholder="ZIP Code" class="form-control input-md" required=""> 

    </div> 
</div> 

<!-- Button --> 
<div class="form-group"> 
<label class="col-md-4 control-label" for="SEARCH">SEARCH</label> 
<div class="col-md-4"> 

<input name="SEARCH" type="submit" class="btn btn-primary" id="SEARCH" formaction="zipsearch.php" formmethod="POST"> 
</div> 
</div> 

</fieldset> 
</form> 

하지만 잘 작동 다음과 같은 형식, ...

zipsearch.php? 우편 = ENTER_DATA_HERE & SEARCH = 제출

URL이 내가 필요한 관련 변수 만 표시하고 제출 버튼의 결과를 표시하지 못하게 할 수있는 방법이 있습니까?

감사합니다.

답변

1

name 특성을 제거하면 GET/POST에서 전달되지 않습니다.

+0

은 훌륭하게 작동했습니다. 무리 감사합니다! –

관련 문제