i modified my backend for my website to use a template system for the news posts. the layout is stored in layout.txt. i have custom tags in it (such as <day>, <id>, <user>). i'm using file() to open it and then doing str_replace() on what i need. now i run into my problem. in the beginning of the layout file, i have documentation of what each tag does. this documentation is enclosed in php tags and is commented out. when i print the layout with the custom tags replaced, it displays all of the documentation, ignoring the fact that its all commented out. i've spent a few days trying to figure out why this happens. help would be appreciated.