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
Is php still relevant 2019?
What is the functionality of the functions strstr() and stristr()?
How do you identify independent and dependent variables in research?
What does the initials of php stand for?
Explain me what is the difference between explode() and split() functions?
What does the expression exception::__tostring means?
What is php programming used for?
Is php is dying?
Does php have future?
Explain me what is sql injection?
What is the difference between $var and $$var?
How many types of errors in php?
What is session and Cokkies . How it works . tell some thing about Session_id()
Can you explain, when to use if-else if-else over switch statements?
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?