Hi,
Oder die Variable, heiße sie nun $entry oder $Entry, ist nicht vorhanden oder unbefüllt, so dass
WHERE ID=herauskommt.
Ich vermute ja eher, dass $query „leer“ ist – das würde „ich kann ihren Inhalt nicht ausgeben“ und auch den MySQL-Fehler besser erklären.
MfG ChrisB
-- 
Autocomplete has spoiled me to a point where it happens every so often that I encounter a CAPTCHA, and I just type in the first character … and then wait for the rest of the code to be automatically suggested :/
  Autocomplete has spoiled me to a point where it happens every so often that I encounter a CAPTCHA, and I just type in the first character … and then wait for the rest of the code to be automatically suggested :/
 nicht angemeldet
 nicht angemeldet Auge
 Auge