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 is str_replace()?
Explain about a search-friendly site looks like?
What is the use of mysql_real_escape_string in php?
Xplain is it possible to use com component in php?
Is python similar to php?
What is include in php?
Tell me how to find current date and time?
Is php used anymore?
Tell me how can we determine whether a php variable is an instantiated object of a certain class?
What is the use of print_r function in php?
How to get ip address of clients machine?
How to calculate the length of a string?
What is a static method php?
how to detect a mobile device using php
Which php framework is best for web development?