Undefined index: Thank you, brother, thank you
Also note that variable names should be standardized and $data should not be written as $date
Login.php determines that admin is not empty. Change the writing method. If you write it according to the teacher's writing method, it will get stuck.
Confirm the front-end request parameters, whether there is username
Also note that variable names should be standardized and $data should not be written as $date
Login.php determines that admin is not empty. Change the writing method. If you write it according to the teacher's writing method, it will get stuck.
Confirm the front-end request parameters, whether there is username