search

Home  >  Q&A  >  body text

php - Beginner's question: How to solve the Undefined index problem?

Beginner to PHP and mysql, follow the instructions in the book. But how to solve Undefined index? I checked online but nothing is very clear.
The following is a screenshot of my phpstorm code

< /p>

< /p>

曾经蜡笔没有小新曾经蜡笔没有小新2767 days ago424

reply all(3)I'll reply

  • 仅有的幸福

    仅有的幸福2017-05-16 13:09:30

    Use isset to determine whether there is this index in $_POST

    reply
    0
  • PHP中文网

    PHP中文网2017-05-16 13:09:30

    Do not place the input box inside the td tag

    reply
    0
  • 世界只因有你

    世界只因有你2017-05-16 13:09:30

    Set error reporting level. Add error_reporting(E_ERROR | E_WARNING | E_PARSE);

    to the top of php.ini or php file

    Or the variable must be $a=''; this is very troublesome.

    reply
    0
  • Cancelreply