What are some common errors that can occur when including PHP functions in HTML files and how can they be resolved?
One common error when including PHP functions in HTML files is forgetting to enclose the PHP code within `<?php ?>` tags. This can result in the PHP code being displayed as plain text on the webpage. To resolve this issue, always make sure to encapsulate PHP code within the opening `<?php` and closing `?>` tags.
<?php
// Correct way to include PHP function in HTML file
echo date('Y-m-d');
?>