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 is inheritance in php? How many types of inheritance supports php?
how to track no of users logged in?
How be the result set of mysql handled in php?
What are the different errors in php?
How can I learn php fast?
Can I use node js with php?
How many keywords are there in php?
How to set a value in session? How to remove data from a session?
What is a string in r?
How to download and install php on windows?
What are the advantages of stored procedures, triggers, indexes in php?
What is the role of the .htaccess file in php?
How do I see how many pages per session in google analytics?
How to remove white spaces from the beginning and/or the end of a string in php?
Is php case sensitive?