I have an email form where the body is HTML and the form field loads some variables within the body.
For example (simplified):
$body = '<html>
<head>
<body>' . $bodyText . '
</body>
</html>';
This then loads into a mySQL database. I'm struggling with errors because of the magic quotes and I know there's a better way then to backslash every ' but I can't find it. Can anyone help me?