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
What is the scope of a variable defined in a function?
What is the php function that removes the first element of the array and returns it?
Tell me what is the main difference between php 4 and php 5?
What is in a cookie?
Write down the code for saving an uploaded file in PHP.
Do you know how to get the ip address of the client?
Why php is also called as scripting language?
Explain about a search-friendly site looks like?
Tell me what is mean by an associative array?
What is the difference server side and browser side validation?
What is the importance of "action" attribute in a html form?
How we can retrieve the data in the result set of mysql using php?
What is nginx and what is it used for?
What is an associative array?
If the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?