PHP Function Friday: include

Including files makes it really easy to NOT duplicate code. It’s great for creating headers and footers for websites, or using it in the inverse: make the header and footer in one file, and include the content.  You can also store site configuration files, functions, and repeating content, etc.

Function and Syntax
include(<file path>);

Manual Entry

http://php.net/manual/en/function.include.php

Notes and Use

Includes . . . → Read More: PHP Function Friday: include

Sponsor:

SponsoredTweets referral badge