Hello Anna, as indicated in the post title "Can't access database" would you be so kind as to please give us some guidance to solve this mysqli_connect problem? This is not a script, it is a connection problem with the database.
Or failing that, indicate the existing post url where we can find a...