इसे आजमाएं
echo "TRY CONNECTION";
$conn =new mysqli($servername, $username, $password,$database);
echo "EXECUTED CONNECTION";
या यह हो सकता है
$con = mysqli_connect("localhost","my_user","my_password","my_db");
इसे आजमाएं
echo "TRY CONNECTION";
$conn =new mysqli($servername, $username, $password,$database);
echo "EXECUTED CONNECTION";
या यह हो सकता है
$con = mysqli_connect("localhost","my_user","my_password","my_db");