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

Is php still relevant 2019?

907


What is the functionality of the functions strstr() and stristr()?

929


How do you identify independent and dependent variables in research?

872


What does the initials of php stand for?

909


Explain me what is the difference between explode() and split() functions?

1013


What does the expression exception::__tostring means?

965


What is php programming used for?

952


Is php is dying?

906


Does php have future?

917


Explain me what is sql injection?

993


What is the difference between $var and $$var?

1021


How many types of errors in php?

1010


What is session and Cokkies . How it works . tell some thing about Session_id()

1912


Can you explain, when to use if-else if-else over switch statements?

964


I am writing an application in php that outputs a printable version of driving directions. It contains some long sentences, and I am a neat freak, and would like to make sure that no line exceeds 50 characters. How do I accomplish that with php?

896