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 the encryption techniques in php?
What is difference between strstr() and stristr() in PHP?
How values in arrays are indexed?
How can we check the value of a given variable is alphanumeric?
Suppose the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?
How many data types are there in php?
What are the uses of explode() and implode() functions?
What is final class and final method?
What is the purpose of the '.myi' file extension? What do thes file contain?
What is isset in php?
What is rtrim php?
What is the difference between php and javascript?
What is php rest api?
Who developed php?
What is php session id?