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 are php filters?
What are the different types of statements that are present in php?
Which is the best web server?
How can we display the output directly to the browser?
What is difference between static and final in php?
Why delimiter is used in mysql?
What does $globals mean?
Write a program in php to check whether a number is prime or not?
What is the best way to change the key without changing the value of a php array element?
Is strcmp case sensitive?
What is list in PHP?
Why should I store logs in a database rather than a file?
Who is the father or inventor of php?
Which php framework is best for beginners?
Explain the difference between array_merge() and array_combine()?