the latest
October 20, 2008 New Backup Script has been launched. Some house keeping has been done around the site and we have a few new items to be added soon.

the greatest

» Backup Script
» Contact Script
» PHP Includes
» Image Gallery

PHP Includes

Description

How to use includes on your php pages.

Tutorial

The most common use of php includes is when you are creating a header and a footer for your website.

Here is a an easy example:

<html>
<head>
<title>Page Title</title>
</head>
<body>

<? include "header.php" ?>

The body of your page.

<? include "footer.php" ?>

</body>
</html>


By using an include like this you can edit every page on your site just by editing your header or footer page.

Remember that you will need to create header.php and footer.php in order to include them.


Home : Services : Scripts : Tutorials : Hosting : Contact