How To Connect Database Using PHP

using PHP you can connect the database easily so let's connect the database.

Step-1



$server = "localhost";
$user = "root";
$pass = "";
$database = "";

$conn = mysqli_connect($server, $user, $pass, $database);

if (!$conn) {
    die("");
}

Post a Comment

1 Comments

  1. That is a good site also check my backlink generator website link is here https://heratech.xyz

    ReplyDelete

Thanks for comment