Php - How to include html file in php, Include HTML file in php
How to include html file in php
Here it is the simple php code that helps you to include your html webpage to php file.HTML file or code to be included in php
<li><a href='home.php'>home</a></li> <li><a href='contactus.php'>Contact</a></li> <li><a href='bluff.php'>Bluff</a></li> <li><a href='programming.php'>Programming</a></li>
php code to include a html file
<?php include ("menus.html"); ?>
Consider you have html file called menus.html with you and the same has to be included in the php file which you wish. To include to you have to just use include filename to include html or any file. When the php file loads on web-browser it will included html file then it will display its body contents in the same file.
The topic on Php - How to include html file in php is posted by - Guru
Hope you have enjoyed, Php - How to include html file in phpThanks for your time