What are the differences between include() and include_once
() functions?
Answer Posted / anup baba
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 ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is $_ server request_method == post?
What is the use of strip_tags() method?
How we can declare variable in php?
What is the difference between array_map () and array_shift ()?
Does strlen include null?
What is a php form?
Explain mysql_error().
What is difference between echo and print in php?
What kind of things have you done on the social side?
How do you check if a variable has not been set in php?
How should a model be structured in mvc?
What is the purpose of the following files having extensions: frm, myd, and myi? What these files contain?
Are php sessions secure?
How to create and destroy cookies in php?
Which is a perfect example of runtime polymorphism?