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 the difference between md5(), crc32() and sha1() crypto on php?
Do you know what is use of count() function in php?
How to create a session? How to remove data from a session?
Explain what are psrs?
What is php oops concepts?
How to delete an element from an array?
What is class extend in php?
Which php mvc framework is best?
What is new keyword in php?
How is session data stored?
Differentiate echo vs. Print statement.
Can we set session value in javascript?
What is the use of htmlentities in php?
What is mysql_fetch_array?
Which is better wamp or xampp?