Look at my above post. Notice the difference in colors??
On your post everything after $mailcontent = "$from went to <a href=" is yellow.
$mailcontent = "$from went to <a href=" <----this quotation is telling PHP that its closing.
Now....if you look at mine everything inbetween the ""s is red, like it should be.
The only time you can use something like:
echo ""HI!"";
Is if it were written:
echo '"HI!"'; <--- with single quotes.
What im basically getting at is you can not have double quotes within double quotes without having the \ before all of them except the starting and ending ""s.
All im asking is you at least try what I gave you and see if it works, and if it doesnt then you can start bagging me about it.