Ich schätze mal du hast die 1 vor ' eingefügt(?)

So wäre es richtig:
PHP-Code:
$headmsg '1 XXX erhalten!'