1
I have an error that could not connect to database on line 125 in the file I will leave here.
'Cause they handed me a website but I don’t understand anything about you.
I have to call (for testing) the host: localhost; username: root; database:know; and has no password (I do not know if these data are accurate but I will put in anyway)
Can someone tell me what’s wrong?
PS: I’m very new on the link PHP and DB
I did that exactly: (var $username = 'root'; var $password = ''; var $hostname = 'localhost'; var $database = 'know';), but it’s still a mistake
– Bruno Gibellino