What are some common issues when including files in PHP and how can they affect the layout of a webpage?
One common issue when including files in PHP is that the included file may contain HTML or whitespace outside of the PHP tags, which can affect the layout of the webpage by causing unexpected spacing or layout issues. To solve this, make sure to only include PHP code within the PHP tags in the included file.
<?php include 'header.php'; ?>
```
```php
<?php
// code here
?>