unable to connect to database

<?php echo ''; $link = mysqli_connect("manitstudentportal.rf.gd", "epiz_23724715", "*************", "student_portal_2"); if(mysqli_connect_error()){ die('ERROR: Unable to connect to database!'); } ?>

Hi and welcome to the forum

You check if mysqli_connect_error() return an error message, but can you please share which error message it returns as well?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.