https://www.php-resource.de/forum/php-developer-forum/51748-funktion-mysql-abfrage-in-php