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...

What are the differences between include() and include_once
() functions?

Answer Posted / nishit

file1.php:
function check()
{
echo 'hello nishit';
}
file2.php
include('file1.php');
check();

file3.php
include('file1.php');[this is worn we should use here
include once.]
include('file2.php');
check();

while execute file3.php see what the error:

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are sessions stateless?

895


How can you submit a form without a submit button?

958


Tell me how to create a text file in php?

976


What are different types of errors available in Php?

919


How to join multiple strings into a single string?

949


How is the ternary conditional operator used in php?

994


Whether php supports microsoft sql server?

1033


What is purpose of @ in Php?

1080


How can we determine whether a variable is set?

932


What is $_ request in php?

884


Which database is best for php?

994


What is variable and data type?

1017


What are the advantages of stored procedures in php?

958


What is isset in php?

980


Is php deprecated?

998