I have an error that could not connect to the database on line 125 in the file that I will leave here .
Well, they gave me a website for the hand but I do not understand anything about you that in the file above comes.
I have to connect (for testing) the host: localhost; username: root; database: know; and do not have a password (I do not know if this data is accurate to you but I'll stick to it)
Can anyone tell me what's wrong?
PS: I'm very new to the PHP and DB