A PHP Error was encountered

Severity: Notice

Message: Undefined index: lk_id

Filename: controllers/zahnzusatzversicherung.php

Line Number: 91

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and leistungssicher_bewertung.bewertung_note>0 group by leistungssicher' at line 6

SELECT * from leistungssicher_bewertung join partner_profil on partner_profil.pp_id=leistungssicher_bewertung.bewertung_user_id where leistungssicher_bewertung.bewertung_leistung_id= and leistungssicher_bewertung.bewertung_note>0 group by leistungssicher_bewertung.bewertung_user_id order by leistungssicher_bewertung.bewertung_id desc limit 5