为什么我收到php错误“未定义索引”?

时间:2019-03-19 00:53:58

标签: php

我是新手,正在学习php,但对此错误感到困惑, 未定义索引:第11行的C:\ xampp \ htdocs \ exercises \ tryme.php中的名称

<html>
<head>
<title> Lala </title>
</head>
<body>

  <form action="tryme.php" method="get">
    Name: <input type="text" name="username">
          <input type="submit">
<br>

<?php 
echo $_GET["username"] ?>



</form>
</body>

</html>

有人帮助我。

0 个答案:

没有答案