connect_error) { die("Connection failed: " . $conn->connect_error); } $sql = "INSERT INTO login (Name, Email, Password) VALUES ('luis','john@example.com','12345678')"; if ($conn->query($sql) === TRUE) { echo "New record created successfully"; } else { echo "Error: " . $sql . "
" . $conn->error; } $conn->close(); ?>