Here is the code I have at the top of my page:
$preventSpam = ob_get_clean();
Here is the code that I have towards the bottom of my page:
$pageIntro .= "<p>$formFirstName, thank you for registering. An email has been sent containing a confirmation link. Click on this link to finalize your registration. You will then be able to login and conduct keyword searches and post your own testimonials.</p>
<p>Sometimes legitimate email mistakingly gets flagged as spam by internet service providers. Take action now to ensure your confirmation email does not get filtered into your junk or bulk mail folder.</p>";
Here is the error I'm getting when the page is loaded:
Warning: Cannot modify header information - headers already sent by (output started at /home3/recordau/public_html/newVersion/register.php:876) in/home3/recordau/public_html/newVersion/startSession.php on line [B]4
What is the best way to display the contents of an include file since this doesn't seem to work?