# \<?php include

**URL:** <https://forum.kirupa.com/t/php-include/236316>\
**Category:** web dev\
**Created:** [August 19, 2007, 8:41pm UTC](https://forum.kirupa.com/t/php-include/236316 "2007-08-19T20:41:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![killahert](https://avatars.discourse-cdn.com/v4/letter/k/6f9a4e/32.png) [@killahert](https://forum.kirupa.com/u/killahert)\
**Post date:** [August 19, 2007, 8:41pm UTC](https://forum.kirupa.com/t/php-include/236316/1 "2007-08-19T20:41:01Z")

</div>

hi I just started learning php and got stuck with this

I have css layout not to repeat myself I created a header.php and a menu.php footer.php which I’d like to include

```php

<?php include("includes/header.php"); ?>

```

but one of my doc have iframe and it won’t include anything

```php

<?php include("includes/header.php"); ?>
<?php include("includes/menu.php"); ?>
<div class="main_window" id="content">
<div id="albumas">
<iframe id="album" name="album" src="album/index.php" frameborder="0" scrolling="no" align="top"></iframe>
</div>
</div>
<?php include("includes/footer.php"); ?>

```

anyone has any suggestions thanx

basically iframe loads lighbox gallery
