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
Tell me what is the use of "enctype" attribute in a html form?
What is the meaning of a persistent cookie?
Which have the fastest execution between mysql_fetch_array() and mysql_fetch_assoc()
How can you upload a file using php?
Do you know how to enable error reporting in php?
What are php libraries?
What is the difference between print() and echo() in PHP?
How to run the interactive php shell from the command line interface?
How break and continue while loop in php?
What are the special characters you need to escape in double-quoted stings?
How do you end a function in python?
How to call a php function from another php file?
Explain what does the function get_magic_quotes_gpc() means?
What are traits?
Which function would you use to format date information in php?