Hey...

Can anyone help me fix this error please...

Parse error: syntax error, unexpected T_STRING in /mailer.php(45) : eval()'d code on line 1

Line 45 is

eval("\$body = \"$body\";");

But im not sure how to fix it :/

Dan

Sorry, I fixed this... it was missing addslashes();

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.