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
Is not null in php?
What is difference between include and include_once in php?
What is php and its advantages?
Do you know how to enable error reporting in php?
What is the use of print_r function in php?
What's php?
Explain why would we use === instead of ==?
Why do we use javascript in php?
What are the advantages of triggers in php?
What is the best way to test the strpos() return value in php?
Why session timeout is important?
What is the difference between die () and exit () in php?
Tell me how to initiate a session in php?
What are helpers in php?
What is $row in php?