how to include external php file in to html page?
Answer Posted / edin
Hi Sott,
only possible way is to include your PHP file above or
belowe HTML tags like
<?php include("filename.php");?>
<?php require("filename.php");?>
<?php include_once("filename.php");?>
<?php require_once("filename.php");?>
Or with inline frame
<iframe src="external.php"></iframe>
Exanple frin Sudheer is also OK, but if you want to execute
some PHP code.
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
discuss the issue of software theft in ghana and how it has affected the economy
What is a static variable in php?
How to execute an sql query? How to fetch its result?
Why laravel is the best php framework in 2019?
How to check an element is exists in array or not in php?
What is parent __construct ();?
How variables are passed through arguments?
How to get number of days between two given dates using PHP?
Explain php split() function.
What are the different data types in javascript?
What is the use of callback in php?
Should I use mysqli or pdo?
How to convert the first character to upper case?
Describe the security vulnerability of PHP?
What is encapsulation in php?