What is the best practice for including PHP files in other PHP files to ensure that the code is executed and displayed correctly?

To include PHP files in other PHP files, it is best practice to use the `include` or `require` functions. This ensures that the code from the included file is executed and displayed correctly within the main PHP file. Using these functions also allows for better organization and reusability of code.

<?php
// Include the file using require_once to prevent multiple inclusions
require_once 'path/to/file.php';
?>