The name of my database is also tp5, but after entering admin and 123456, it shows that the user has not been changed. Why is this? Please explain.
kanglecheng2019-07-05 16:10:21
"There is no such user" means that the admin data is not found in the data table.
1. Make sure that there is the login user admin in the database table.
2. Check the login code and whether the data submitted by the form is obtained correctly.
3. You can print the SQL statement and see it