Untitled

 avatar
unknown
plain_text
5 months ago
299 B
3
Indexable
<?php
    //Database connection string
    $host = "localhost";
    $user = "root";
    $pass = "";
    $dbname = "sangil_db";

    $conn = new mysqli($host, $user, $pass, $dbname);

    if($conn->connect_error)
    {
        die("Connection failed: ". $conn->connect_error);
    }

?>
Editor is loading...
Leave a Comment