<legend id='MHU5p'><style id='MHU5p'><dir id='MHU5p'><q id='MHU5p'></q></dir></style></legend>

      <small id='MHU5p'></small><noframes id='MHU5p'>

    1. <i id='MHU5p'><tr id='MHU5p'><dt id='MHU5p'><q id='MHU5p'><span id='MHU5p'><b id='MHU5p'><form id='MHU5p'><ins id='MHU5p'></ins><ul id='MHU5p'></ul><sub id='MHU5p'></sub></form><legend id='MHU5p'></legend><bdo id='MHU5p'><pre id='MHU5p'><center id='MHU5p'></center></pre></bdo></b><th id='MHU5p'></th></span></q></dt></tr></i><div id='MHU5p'><tfoot id='MHU5p'></tfoot><dl id='MHU5p'><fieldset id='MHU5p'></fieldset></dl></div>
      • <bdo id='MHU5p'></bdo><ul id='MHU5p'></ul>
      <tfoot id='MHU5p'></tfoot>

      将 GET 参数附加到来自 &lt;form&gt; 的 URL行动

      Appending GET parameters to URL from lt;formgt; action(将 GET 参数附加到来自 lt;formgt; 的 URL行动)
      <i id='3Wri6'><tr id='3Wri6'><dt id='3Wri6'><q id='3Wri6'><span id='3Wri6'><b id='3Wri6'><form id='3Wri6'><ins id='3Wri6'></ins><ul id='3Wri6'></ul><sub id='3Wri6'></sub></form><legend id='3Wri6'></legend><bdo id='3Wri6'><pre id='3Wri6'><center id='3Wri6'></center></pre></bdo></b><th id='3Wri6'></th></span></q></dt></tr></i><div id='3Wri6'><tfoot id='3Wri6'></tfoot><dl id='3Wri6'><fieldset id='3Wri6'></fieldset></dl></div>

        <small id='3Wri6'></small><noframes id='3Wri6'>

              <tbody id='3Wri6'></tbody>
              <bdo id='3Wri6'></bdo><ul id='3Wri6'></ul>
              <legend id='3Wri6'><style id='3Wri6'><dir id='3Wri6'><q id='3Wri6'></q></dir></style></legend>
              <tfoot id='3Wri6'></tfoot>
                本文介绍了将 GET 参数附加到来自 &lt;form&gt; 的 URL行动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                所以说我目前正在使用 index.php 或 index.php?p=about 在我当前的网络构建中.

                So say I'm currently on index.php or index.php?p=about within my current web build.

                我正在尝试构建一个将在大多数页面上显示的搜索表单,但我希望表单操作转到 http://mywebsiteurl.com/?p=search&q=GETDATA,因为我网站的分页取决于传递给p"属性的数据.

                I am trying to build a search form that will be displayed on most pages, but I want the form action to go to http://mywebsiteurl.com/?p=search&q=GETDATA, as my website's paging depends on the data passed to the 'p' attribute.

                如何在提交时以静态方式将搜索参数附加到 URL?

                How would I append the search parameter to the URL in a static fashion, upon submission?

                推荐答案

                也许是这样的:

                  <form method="get" action="index.php">
                     <input type="hidden" name="p" value="search" />
                     <input type="text" name="q" value="" />
                     <input type="submit" value="search" />
                  </form>
                

                这篇关于将 GET 参数附加到来自 &lt;form&gt; 的 URL行动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Forcing quot;Save Asquot; dialog via jQuery GET(强制“另存为通过 jQuery GET 对话框)
                PHP - get certain word from string(PHP - 从字符串中获取某个单词)
                How to debug a get request in php using curl(如何使用 curl 在 php 中调试 get 请求)
                get a # from a url in php(从 php 中的 url 获取 #)
                PHP - include() file not working when variables are put in url?(PHP - 将变量放入 url 时,include() 文件不起作用?)
                PHP Require and Include GET(PHP 需要并包含 GET)
                      <tbody id='f9o0m'></tbody>
                    <i id='f9o0m'><tr id='f9o0m'><dt id='f9o0m'><q id='f9o0m'><span id='f9o0m'><b id='f9o0m'><form id='f9o0m'><ins id='f9o0m'></ins><ul id='f9o0m'></ul><sub id='f9o0m'></sub></form><legend id='f9o0m'></legend><bdo id='f9o0m'><pre id='f9o0m'><center id='f9o0m'></center></pre></bdo></b><th id='f9o0m'></th></span></q></dt></tr></i><div id='f9o0m'><tfoot id='f9o0m'></tfoot><dl id='f9o0m'><fieldset id='f9o0m'></fieldset></dl></div>
                      <bdo id='f9o0m'></bdo><ul id='f9o0m'></ul>

                      <legend id='f9o0m'><style id='f9o0m'><dir id='f9o0m'><q id='f9o0m'></q></dir></style></legend>

                        <small id='f9o0m'></small><noframes id='f9o0m'>

                          <tfoot id='f9o0m'></tfoot>