php - Beginner's question: How to solve the Undefined index problem?
曾经蜡笔没有小新2017-05-16 13:07:30
0
3
436
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
Use isset to determine whether there is this index in $_POST
Do not place the input box inside the td tag
Set error reporting level. Add error_reporting(E_ERROR | E_WARNING | E_PARSE);
to the top of php.ini or php fileOr the variable must be $a=''; this is very troublesome.