Untitled

 avatar
unknown
plain_text
23 days ago
335 B
2
Indexable
<?php
$host = "localhost";
$user = "root"; // Change this if you have a different DB user
$pass = "";     // Add your DB password if any
$db   = "user_registration";

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

// Check connection
if ($conn->connect_error) {
    die("Connection failed: " . $conn->connect_error);
}
?>
Editor is loading...
Leave a Comment