Untitled
unknown
plain_text
9 months ago
335 B
4
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