/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php include('header.php'); ?> <?php include('navigation.php'); ?> <div id="contentwrap"> <?php $default = "home.php"; ); { { $file = $page . ".php"; { include( $file ); } else { include( $default); } } else { include( $default); } } else { include( $default ); } ?> </div><!-- end contentwrap --> <?php include('footer.php'); ?>