What are the differences between include() and include_once
() functions?
Answer Posted / sanjay sharma
The include_once() statement includes and evaluates the
specified file during the execution of the script. This is a
behavior similar to the include() statement, with the only
difference being that if the code from a file has already
been included, it will not be included again. As the name
suggests, it will be included just once. so include_once() is
better than include().
| Is This Answer Correct ? | 10 Yes | 5 No |
Post New Answer View All Answers
What does $globals mean?
What is difference between explode() or split() in PHP?
How to download file in php?
What does trim () do in javascript?
What is the use of get and post method in php?
Why php is used?
What software is required for php?
What is the use of extract function in php?
What is the use of super-global arrays in php?
What is the function mysql_pconnect() usefull for?
What is echo in html?
How do you destroy a session?
Can I use node js with php?
What is the importance of parser in php?
What are the advantages of stored procedures in php?