how to use php script in html 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: inline php in html
<body>
Hello, today is <?php echo date('l, F jS, Y'); ?>.
</body>