You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 4 SQL = SELECT id, id_vertragspartner, email, telefon_sichtbar, mobil, qualifikationen, cat_rektusdiastare_adviser, titel, CONCAT(vorname, ' ', nachname) AS name, ist_kursleiterin, zusatzquali_beckenboden, zusatzquali_rektusdiastase FROM tabelle_vertragspartner WHERE id =

/

Tel.: