1. Home
  2. Computing & Technology
  3. PHP / MySQL
photo of Angela Bradley
Angela's PHP / MySQL Blog

By Angela Bradley, About.com Guide to PHP / MySQL

Function Friday: Include () Function

Friday June 20, 2008
The include () function is a very useful PHP function on pages with a lot of repeated information. Include () is used to include the contents of another file within the file that calls it. You can include a file with all your variables and functions, include files that contain your page headers and footers, or any other sorts of information that is reused on pages.
Comments
June 23, 2008 at 4:08 pm
(1) Jennifer says:

Includes worked on site till my host upgraded to php5. Now includes aren’t working. Any suggestions?

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Discuss
Community Forum
Explore PHP / MySQL
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. PHP / MySQL

©2009 About.com, a part of The New York Times Company.

All rights reserved.