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 get the directory name out of a file path name?
How is it possible to set an infinite execution time for php script?
Is php still used?
How is session id stored in browser?
Can you extend a final defined class?
How to connect to mysql from a php script?
What is sticky form in php?
What is sql injection in php?
How can we check the value of a given variable is a number?
How can I increase my website session?
What is the difference between abstract class and interface in php?
What language is php based on?
Can we extend two classes in php?
What are the advantages of triggers in php?
How to get the ip address of the client?