Using Javascript in php

i think the only problem is with double quotes.
header(“Location: mailto:email@address.com?Subject=New message from website&body=$body”);
should be,
header(“Location: mailto:email@address.com?Subject=New message from website&body=”.$body.“”);