Untitled
Anonymous
plain_text
04/06/2025 3:01 AM
448 B
15
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