Answers for "how to add a php file in html"

PHP
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;
?>
Posted by: Guest on October-30-2020

Code answers related to "how to add a php file in html"

Browse Popular Code Answers by Language