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
Is it more secure to use cookies to transfer session ids?
How to create a text file in PHP?
How to get the number of characters in a string?
What is the capacity of mysql database?
Is php 5 still supported?
What is data abstraction in php?
What are the different types of statements that are present in php?
How do you check if a variable has not been set in php?
What percentage of websites use php?
Should I learn php before wordpress?
What does mysqli_query return?
Explain what are the three classes of errors that can occur in php?
What is binary safe string?
Why php is also called as scripting language?
In how many ways we can retrieve the data in the result set of mysql using php?