https://www.php-resource.de/forum/sql-datenbanken/59069-mysql_select_db-in-function