add challenge 13

This commit is contained in:
Alvin
2025-09-22 11:18:52 +02:00
parent 52a0aa5cda
commit 7218a44233
23 changed files with 992 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<?php
// =======================
// Database configuratie
// =======================
$host = "localhost";
$username = "root";
$password = ""; // XAMPP default on Windows is empty password
$database = "db_awfulportfolio"; // Use the database name, not the .sql file name
// Maak verbinding
$conn = new mysqli($host, $username, $password, $database);
// Check verbinding
if ($conn->connect_error) {
die("Verbinding mislukt: " . $conn->connect_error);
}
// Zorg voor juiste charset
$conn->set_charset("utf8mb4");