What is the recommended method for including a PHP file in an HTML file without using an iframe?

When including a PHP file in an HTML file without using an iframe, the recommended method is to use the PHP include() function. This function allows you to include the contents of a PHP file within another PHP or HTML file. This way, you can easily reuse code across multiple files without the need for iframes.

<?php
include 'path/to/your/file.php';
?>