cramerz logo

Php Include


Common practise is to define a set of functions for an application and place them in a PHP file which is loaded by all other scripts in the system. External PHP files can be loaded using the

include() function:

include('functions.php');

Any PHP code in the file being included must occur inside <?php and ?> tags. Normal text and HTML in the file will be output straight to the browser. This makes the include() function extremely useful for keeping repeated elements of web sites (such as the common navigation or header) in a single file.



all rights reseverd by Cramerz.com©. web development by web design company DotPeak. hosting by HostBay
all contents on cramerz are the property of Cramerz.com. web design courses