1<!DOCTYPE html>
2 <html>
3 <head>
4 <title>External PHP File</title>
5 </head>
6 <body>
7 <?php include 'example.php';?>
8 <body>
9</html>
1/*You need to change that .html file to .php file. In this way,
2you can easily link one php file to another.*/
3
4
5<html>
6<body>
7
8<h1>Welcome to my home page!</h1>
9<p>Some text.</p>
10<p>Some more text.</p>
11<?php include 'footer.php';?>
12
13</body>
14</html>