What are the differences between include() and include_once
() functions?
Answer Posted / anjan
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.
| Is This Answer Correct ? | 23 Yes | 9 No |
Post New Answer View All Answers
What is echo and print in php?
Are there regular expressions in php?
Which MySQL function would you use to select a database?
What is the use of friend function in php?
How would you declare a function that receives one parameter name hello?
How to process the uploaded files?
How can you tell if a number is even or odd without using any condition or loop?
How can you send http header to the client in php?
What is xss in php?
Which function(s) in PHP computes the difference of arrays?
What is the function of string in c?
What is warning – “cannot modify header information – headers already sent”?
Why do you need to filter out empty files?
What are the features of object-oriented programming in php?
How to redirect a url from http to https in .htaccess?