Unable to connect to database, though code seems correct.

<?php $conn = new mysqli("sql200.epizy.com","epiz_21844843", "yRP0BEI6953h", "epiz_21844843_namma_oota"); ?>

This is my code, but it still throws an error. Please help!

First of all, you should never share your account password! And definitely not in a publicly visible forum post! I’ve reset your account password to prevent anyone else from getting in.

On topic: you say it “throws an error”. What’s the error?