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
How to convert strings in hex format?
What are php errors?
What are include() and require() functions?
What is overloading and overriding in php?
What is mod_php?
What is the use of anonymous function in php?
Code to open file download dialog in PHP?
What does pear stand for?
How to check your php installation?
How is traits used in php?
What is mysql_fetch_row?
What is the use of @ in php?
What is use of in_array() function in php?
What is trim codeigniter?
How do you clear environment variables?