I have this section of php code which styles the error message
echo("<p class=contactformnotsent>Unable to send information because you need to...</p>");
How do I also include these lines so that they can be styled in the same way?
foreach ($errors as $error)
{ print $error."<br />\n"; }
When I do add these lines it gives me a syntax error on the second line which is
{ print $error."<br />\n"; }
By wrapping them in the paragraph: