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

    1. <legend id='WAHrE'><style id='WAHrE'><dir id='WAHrE'><q id='WAHrE'></q></dir></style></legend>
        <bdo id='WAHrE'></bdo><ul id='WAHrE'></ul>
        <tfoot id='WAHrE'></tfoot>

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

        使用 PHP $_GET 修正超链接 URL 的语法

        Correct syntax for hyperlink URL with PHP $_GET(使用 PHP $_GET 修正超链接 URL 的语法)

          <legend id='B8oFa'><style id='B8oFa'><dir id='B8oFa'><q id='B8oFa'></q></dir></style></legend>
        1. <small id='B8oFa'></small><noframes id='B8oFa'>

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

            <bdo id='B8oFa'></bdo><ul id='B8oFa'></ul>

                    <tbody id='B8oFa'></tbody>
                  本文介绍了使用 PHP $_GET 修正超链接 URL 的语法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我想知道如何将来自我网站的信息放入我网站第一页的 URL 中,然后在下一页上,使用 $_GET 从 URL 获取变量.

                  I am wondering how I would put information from my website in the URL on the first page of my site, and then on the next page, use $_GET to get the variables from the URL.

                  我只是想把它放在一个像 <a href="mywebsite.com/page?name=$name"></a> 这样的链接里,如果我就是这样做的,如果可以,我将如何从 URL 中获取它?

                  I was just wanting to put it in a link like <a href="mywebsite.com/page?name=$name"></a> So would it work if I did it like that, and if it would, how would I get it from the URL?

                  推荐答案

                  do

                  <a href="http://mywebsite.com/page?name=<?php echo $name; ?>"></a>
                  

                  在您的页面中,您可以将名称设为:

                  And in your page, you could get the name as:

                  $name = $_GET['name'];
                  

                  这篇关于使用 PHP $_GET 修正超链接 URL 的语法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  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() 文件不起作用?)

                  <tfoot id='40uAJ'></tfoot>

                    <bdo id='40uAJ'></bdo><ul id='40uAJ'></ul>

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

                      <small id='40uAJ'></small><noframes id='40uAJ'>

                            <tbody id='40uAJ'></tbody>
                          <legend id='40uAJ'><style id='40uAJ'><dir id='40uAJ'><q id='40uAJ'></q></dir></style></legend>