I have a problem that I can’t retrieve data from the database.
I tested my connection and it shows that the database is connected. I can register a new user and it shows in the db but with login I can’t retrieve the data. My code is working but with the database I can’t.
I changed to __construct() method because it shows some errors. but the problem still coming.