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 does == mean in php?
What is difference between explode() or split() in PHP?
How do I see how many pages per session in google analytics?
What is a definer in mysql?
What is the use of mysqli_real_escape_string() function?
How to open a file in php?
How do I escape data before storing it into the database?
Suppose your zend engine supports the mode Then how can you configure your php zend engine to support Mode ?
How to generate a character from an ascii value?
Describe session in php.
Is it possible to protect special characters in a query string?
Is age a variable in research?
How cookies are transported from browsers to servers?
How to declare an array in php?
How to set a value in session? How to remove data from a session?