SyntaxFix
Write A Post
Hire A Developer
Questions
I had to use nl2br to display the carriage returns correctly and it worked for me:
<?php echo nl2br(file_get_contents( "filename.php" )); // get the contents, and echo it out. ?>