I'm sending a html email from php. The body is wrapped in double quotes ("
). How do I add a button onclick event and a link within the double quotes?
$body = "<BODY>
<button type='button' onclick='window.location.href='www.example.com/page.html?id=".$id."''>
</BODY>";
How do I do onclick='window.location.href='''