$File2 = "feed.html";
$msg2 = "A user has uploaded a file. To view it click Here"';
You had an extra ' where it didn't belong:
')"'>Here";
(before the >)
You might want to use a tool with syntax highlighting, I recommend Netbeans: the price is right :D