• <bdo id='CNx25'></bdo><ul id='CNx25'></ul>
    1. <small id='CNx25'></small><noframes id='CNx25'>

      <tfoot id='CNx25'></tfoot>

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

        $_GET .未定义的变量.找不到解决办法

        时间:2023-10-12
        <i id='6KqeJ'><tr id='6KqeJ'><dt id='6KqeJ'><q id='6KqeJ'><span id='6KqeJ'><b id='6KqeJ'><form id='6KqeJ'><ins id='6KqeJ'></ins><ul id='6KqeJ'></ul><sub id='6KqeJ'></sub></form><legend id='6KqeJ'></legend><bdo id='6KqeJ'><pre id='6KqeJ'><center id='6KqeJ'></center></pre></bdo></b><th id='6KqeJ'></th></span></q></dt></tr></i><div id='6KqeJ'><tfoot id='6KqeJ'></tfoot><dl id='6KqeJ'><fieldset id='6KqeJ'></fieldset></dl></div>
        <legend id='6KqeJ'><style id='6KqeJ'><dir id='6KqeJ'><q id='6KqeJ'></q></dir></style></legend>
              <tbody id='6KqeJ'></tbody>

            • <small id='6KqeJ'></small><noframes id='6KqeJ'>

                <tfoot id='6KqeJ'></tfoot>
                  <bdo id='6KqeJ'></bdo><ul id='6KqeJ'></ul>

                • 本文介绍了$_GET .未定义的变量.找不到解决办法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我遇到了问题并且没有想法.

                  I'm having an issue and am out of ideas.

                  我试图从 URL 获取参数,但 PHP 坚持说该变量未定义.

                  I'm trying to get a parameter from the URL, but PHP insists in saying that the variable is not defined.

                  网址是

                  http://localhost/trendwatcher/index.php?date=2014-10-18
                  

                  脚本类似于

                  <?php include "header.php"; ?>
                  
                          <section id="stats">
                              Showing trends for <?php echo $GET_["date"];  ?>
                          </section>
                  

                  最后,错误:

                  Showing trends for 
                  Notice: Undefined variable: GET_ in C:xampphtdocs	rendwatcherindex.php on line 4
                  

                  有人有什么想法吗?

                  谢谢!

                  推荐答案

                  从以下位置修复您的代码:

                  Fix your code from:

                  <section id="stats">
                       Showing trends for <?php echo $GET_["date"];  ?>
                  </section>
                  

                  <section id="stats">
                       Showing trends for <?php echo $_GET["date"];  ?>
                  </section>
                  

                  这篇关于$_GET .未定义的变量.找不到解决办法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:在 php 中获取 cookie? 下一篇:使用 Zend 框架处理输入(Post、get 等)

                  相关文章

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

                  <tfoot id='v0Fsq'></tfoot>
                  <legend id='v0Fsq'><style id='v0Fsq'><dir id='v0Fsq'><q id='v0Fsq'></q></dir></style></legend>

                  1. <small id='v0Fsq'></small><noframes id='v0Fsq'>