Are there any best practices for including external text files in PHP within an HTML page?

When including external text files in PHP within an HTML page, it is best practice to use the `include` or `require` functions to avoid repeating code and improve maintainability. These functions allow you to insert the contents of an external file into your PHP script at the point where the function is called.

<?php
include 'external_file.txt';
?>