From 89519f93cfe8f35fef903a9a87560107fb0b8731 Mon Sep 17 00:00:00 2001 From: Jan-Lukas Pagel Date: Tue, 15 Oct 2019 00:12:10 +0200 Subject: [PATCH] ~ fix --- include/thw.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/thw.php b/include/thw.php index bd7d1c3..de0afaf 100644 --- a/include/thw.php +++ b/include/thw.php @@ -50,7 +50,8 @@ if ($result->num_rows > 0) { query("SELECT `name` FROM `thw_einheit` WHERE id = " . $frow['Einheit']); - echo($einheit) + $result = $einheit->fetch_array(); + echo ($result['name']); ?>