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']); ?>