PHP Code:
if (empty($music)) {
$music = "Not listening to music";
{
You have an opening brace where you should have a closing one. The parser expects to find the closing brace but can't so it errors out past the last line in the script.
BTW you also have a typo:
PHP Code:
if (empty($mesage)) {