Add exams from exam100 to exam150

This commit is contained in:
2024-05-13 08:50:26 +02:00
parent 4fd956ddac
commit 56492d171c
13 changed files with 366 additions and 0 deletions

21
exam110/connect.inc.php Normal file
View File

@@ -0,0 +1,21 @@
<?php
//How to connect to MySQL
$mysql_host = 'localhost';
$mysql_user = 'example_user';
$mysql_pass = 'Kolosnjaj4321!';
$conn_error = 'Could not connect to database!';
$mysql_db = 'example_database';
$con = mysqli_connect($mysql_host, $mysql_user, $mysql_pass);
if ($con) {
if (mysqli_select_db($con, $mysql_db)) {
} else {
die($conn_error);
}
}
?>