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 difference between query and question?
What are magic methods?
What is the use of isset() in php?
How to compare two strings with comparison operators in php?
What is difference between array_merge and array_combine in php?
Why is overriding runtime?
If we login more than one browser windows at the same time with same user and after that we close one window, then is the session is exist to other windows or not? And if yes then why? If no then why?
What is isset in php form?
Do you know what is the function mysql_pconnect() usefull for?
What does odbc do in context with php?
Explain how is it possible to set an infinite execution time for php script?
How to add comments in php?
What distinguishes php from something like client side java script?
How do you pass a variable by value in php?
How send email using php?