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
How long should a session last?
What is mod_php?
Tell me what are the different types of errors in php?
Tell us what does $_cookie means?
What is xss in php?
Tell me in php, objects are they passed by value or by reference?
How a variable is declared in php?
Write the statements that are used to connect php with mysql
What is the purpose of php?
Which function would you use to replace a record in a database in php?
What is the difference between the include() and require() functions?
How can I load data from a text file into a table?
Do you know what is the function mysql_pconnect() usefull for?
What is the php function that removes the last element of the array and returns it?
What is session in c#?