Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the scope of a variable defined in a function?

1073


What is the php function that removes the first element of the array and returns it?

971


Tell me what is the main difference between php 4 and php 5?

990


What is in a cookie?

970


Write down the code for saving an uploaded file in PHP.

1072


Do you know how to get the ip address of the client?

1158


Why php is also called as scripting language?

963


Explain about a search-friendly site looks like?

864


Tell me what is mean by an associative array?

1089


What is the difference server side and browser side validation?

1006


What is the importance of "action" attribute in a html form?

1012


How we can retrieve the data in the result set of mysql using php?

1138


What is nginx and what is it used for?

1022


What is an associative array?

1051


If the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?

961