Getting Warning: mysqli_connect(): file path

Warning: mysqli_connect()

below is the code I am using for connection but still, I am getting this error:


$con = mysqli_connect("localhost","root","root","db_name") or die ("Not Connected");


I have tried mysql_connect for connecting, too.

Source: wampserver

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.