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
Can a super () and this () keywords be in same constructor?
What's the best method for sanitizing user input with php?
Explain the ternary conditional operator in php?
How do you destroy a particular or all Sessions?
Tell me what are the correct and the most two common way to start and finish a php block of code?
Can we use php variable in javascript?
What does php exit do?
What are the 5 types of data?
What is a base url?
How send email using php?
What are session variables in php?
Are php short tags acceptable to use?
How to enable cURL in PHP?
What is the delimiter default in PHP?
What is the use of @ in php?