What are the differences between include() and include_once
() functions?
Answer Posted / joshna
Include():by using this include()we can embed external page
in the current script multiple time,if the embeded file is
not available it returns a warning message and executes the
rest of the statements.The include_once() is same as include
() but it includes the external file only one time and
ignores the remaining all include_once statement which
contains the same file name.
Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is difference between core php and framework?
What is the basic syntax of Php?
What is the difference between echo print and print_r in php?
What is self in php?
Does php class need constructor?
What is the use of array_search() in php?
What is use of count() function in php?
What is php used for?
Where are the persistent cookies stored on your computer?
Is php strongly typed?
Tell me what is the difference between the functions strstr() and stristr()?
Is not null in php?
When sessions ends?
Is array a key php?
Explain about objects in PHP?