Using include() : Include « Language Basics « PHP
- PHP
- Language Basics
- Include
Using include()
<html>
<head>
<title>Using include()</title>
</head>
<body>
<?php
include("myIncludeFile.php");
?>
</body>
</html>
<!-- myIncludeFile.php
<?php
print "included!!<BR>";
print "4 + 4 = ".(4 + 4);
?>
-->
Related examples in the same category