diff --git a/Biblioteka 17.05.2023/include/db_conn.php b/Biblioteka 17.05.2023/include/db_conn.php index b3d9bbc..1e51104 100644 --- a/Biblioteka 17.05.2023/include/db_conn.php +++ b/Biblioteka 17.05.2023/include/db_conn.php @@ -1 +1,18 @@ Połączono z bazą danych ' . $database . ' na serwerze ' . $servername . '
'; + echo 'Host info: ' . $mysqliProceduralConection->host_info . '
'; + echo 'MySQLi stat: ' . mysqli_stat($mysqliProceduralConection) . '

'; + + mysqli_close($mysqliProceduralConection); +?> \ No newline at end of file diff --git a/Biblioteka 17.05.2023/index.php b/Biblioteka 17.05.2023/index.php index 7c86594..d9be8f4 100644 --- a/Biblioteka 17.05.2023/index.php +++ b/Biblioteka 17.05.2023/index.php @@ -9,7 +9,19 @@ +