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

      <tfoot id='TGUVr'></tfoot>

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

        在提交之前组合 $_GET 变量

        Combine $_GET variables before Submit(在提交之前组合 $_GET 变量)
            <legend id='1EUFx'><style id='1EUFx'><dir id='1EUFx'><q id='1EUFx'></q></dir></style></legend>
          1. <i id='1EUFx'><tr id='1EUFx'><dt id='1EUFx'><q id='1EUFx'><span id='1EUFx'><b id='1EUFx'><form id='1EUFx'><ins id='1EUFx'></ins><ul id='1EUFx'></ul><sub id='1EUFx'></sub></form><legend id='1EUFx'></legend><bdo id='1EUFx'><pre id='1EUFx'><center id='1EUFx'></center></pre></bdo></b><th id='1EUFx'></th></span></q></dt></tr></i><div id='1EUFx'><tfoot id='1EUFx'></tfoot><dl id='1EUFx'><fieldset id='1EUFx'></fieldset></dl></div>
            <tfoot id='1EUFx'></tfoot>

              <small id='1EUFx'></small><noframes id='1EUFx'>

                <tbody id='1EUFx'></tbody>
                • <bdo id='1EUFx'></bdo><ul id='1EUFx'></ul>

                  本文介绍了在提交之前组合 $_GET 变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我不确定这是否可行,但这是我无法弄清楚的问题.

                  I am not really sure if this is possible but here is the problem I cant figure out.

                  在这个链接中有一个结果.

                  Have a from that results in the this link.

                  最终结果链接.

                  http://www.website.com/index.php?a=price_range_A_B

                  我不能使用 from 但我可以使用输入字段.有什么想法吗?

                  I can not use a from but i can use Input fields. Any ideas?

                  推荐答案

                  EDIT : 由于 OP 更改了问题,我在下面更新了我的答案.

                  EDIT : Since the OP changed the question I have updated my answer below.

                  我举了一个例子来说明如何做到这一点.

                  I am putting an example of how you could do this.

                  <?php  
                      $action_path = "index.php";
                      ?>
                  
                      <script type="text/javascript">
                          function submitData() {
                              var a = null;
                              var _A = document.getElementById("_A").value;
                              var _B = document.getElementById("_B").value;
                  
                              a = "price_range_" + _A + "_" + _B;
                  
                              window.location.href = "<?php echo $action_path; ?>?a=" + a;
                  
                              return;
                          }
                      </script>
                  
                      <input type="text" id="_A" maxlength="6" size="5" />
                      <input type="text" id="_B" maxlength="6" size="5" />
                      <input type="button" value="Submit" onclick="submitData();" />
                  
                      <?php
                      // the code to be put after </form> goes here
                  ?>
                  

                  这篇关于在提交之前组合 $_GET 变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  Appending GET parameters to URL from lt;formgt; action(将 GET 参数附加到来自 lt;formgt; 的 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() 文件不起作用?)

                  <small id='8nc98'></small><noframes id='8nc98'>

                • <tfoot id='8nc98'></tfoot>
                  <legend id='8nc98'><style id='8nc98'><dir id='8nc98'><q id='8nc98'></q></dir></style></legend>

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