From 48c23d2f33be8dddd2bfcaa174d1f0b1facf2f63 Mon Sep 17 00:00:00 2001 From: 3p01 Date: Wed, 8 Oct 2025 09:28:54 +0200 Subject: [PATCH] 08.10 --- Tematy/T60a - praca z bazą danych/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tematy/T60a - praca z bazą danych/index.php b/Tematy/T60a - praca z bazą danych/index.php index d4a9fe1..e224047 100644 --- a/Tematy/T60a - praca z bazą danych/index.php +++ b/Tematy/T60a - praca z bazą danych/index.php @@ -98,7 +98,7 @@ if ($db) { } } elseif ($action === 'show_data') { $shouldShowData = true; - $res = @mysqli_query($db, "SELECT numer_id, nazwisko, imie, stanowisko, dzial, sekcja FROM pracownicy ORDER BY numer_id"); + $res = mysqli_query($db, "SELECT numer_id, nazwisko, imie, stanowisko, dzial, sekcja FROM pracownicy ORDER BY numer_id"); if ($res) { $rows = mysqli_fetch_all($res, MYSQLI_ASSOC) ?: []; mysqli_free_result($res);