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
what is CURL?
Why do we use session?
What percentage of websites use php?
Is php used in 2019?
What is interface? Why it is used?
Explain what does the function get_magic_quotes_gpc() means?
Can you specify the "new line" character in single-quoted strings?
What is array filter in php?
Why do we use php?
Can we extend two classes in php?
What is the importance of php?
What is csrf validation?
What is difference between mysql_connect and mysqli_connect?
How to find current date and time?
How to process the uploaded files?