What is an include file in PHP
In this article I have been describing PHP include file.
PHP Include files
The PHP include file is used to insert content of one PHP file into another PHP file before the execution of server.
Syntax of include command
include 'filename';
or
require 'filename';
|
PHP include statement
The php include command includes and evaluates the specified file.
Example of include file
<html>
<body>
<?php include 'date.php'?>
<h1> Include command home page.</h1>
<p>The included file is given above........</p>
</body>
</html>
|
Output:
You may also want to read these related articles :here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here