html and php in one file code example
Example 1: load php in html
//Safe as:
index.html
number.php
//HTML:
<html>
<head>
<title>Home</title>
</head>
<body>
<h1>Phone Number</h1>
<?php include('number.php') ?>
</body>
</html>
//PHP:
<?php
echo 4895553268;
?>
Example 2: insert an html page into php
<?php
// do php stuff
include('fileOne.html');
include('fileTwo.html');
?>