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 write php function in html onclick?
I need to know about the courses which are useful in corporate companies.. especially php/mySQL, Java/j2ee, .NET.. also tell if any other courses are valuable
Explain the types of string comparision function in PHP
Tell me are parent constructors called implicitly inside a class constructor?
What are the different loops in php?
Explain mail function in PHP with syntax?
What is the php function that removes the last element of the array and returns it?
Which function would you use to replace a record in a database in php?
How do I check environment variables?
What is cakephp framework?
Is php object oriented?
Can we set session value in javascript?
How to execute a php script from the command line?
Maine 12th ke bad 2 years ka web designing ka course kiya hai. Php me achcha hu. Ek fresher ko is field me kitna mil sakta hai ?
Are react hooks stable?