Can't access to database

hello… why i cant access to my database although all the informations are right … it’s kind of a connection fail

What is your URL?

What script are you using?

hatemsekmani.000webhostapp.com
i use php script with “mysqli_connect” function but is seems that there is an error in connecting with the database…i put “localhost” as hostname and the other information about my account and database

Can you post the code or the name of the file?

Before:

During:

Changed the password of the database to match that of the configuration in the dp.php file.

After:

???