echo $begrüßung;
#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 'SET NEW.preisdatum = NOW()' at line 4
Kann ich nicht direkt nachvollziehen. Geht bei mir problemlos.
Ich habe das Gefühl, dass ich irgendwas bei der If-Schleife falsch mache...
if ist keine Schleife. Wie/womit setzt du denn das Statement ab?
echo "$verabschiedung $name";