<form name="frm1" method="post" action="/123/123/123/123/result_page.php">
        <td class="search_bar"><input type="text" name="textfield"  style="width:95%; height:28px; border:0px;"开发者_运维技巧 /></td>
        <td class="search_btn"><a href="/123/123/123/123/result_page.php?searchCity=<?php $_POST['textfield'] ?>"></a></td>
        </form>
Add a submit button to your form:
<form name="frm1" method="post" action="/123/123/123/123/result_page.php">
  <td class="search_bar">
    <input type="text" name="searchCity" />
  </td>
  <td class="search_btn">
    <input type="submit" value="Search" />
  </td>
</form>
Having a link as you have will bypass the form and generate a GET request, not a POST.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论