Hello, I am having an issue when I use "include"
I am basically trying to full fill a request to a customer to clean up his code. I am doing this:
<?php
include 'codebefore.php';
?>
<table>
<more html />
</table>
<?php
include 'codeafter.php';
?>
Now I am getting a parse error due to open curlies in 'codebefore.php'. My issue is that I want to keep the code the same, the ending curlies appear in the 'codeafter.php' I essentially want to wrap the code around this table.
I know the code is correct, when I don't move it to the included files it executes fine. Is there a different method than "include" that could just take the code from these separate files at runtime and insert it into the main document?
I noticed there is a very active thread on the parse error issue, but mine is not about why I get that error, I already know. Now im just trying to work around it.