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


Please Help Members By Posting Answers For Below Questions

Why php is used with mysql?

526


Why do we use javascript in php?

522


What is difference between count or sizeof function in php?

528


Explain Traits in PHP?

523


What does sign mean php?

551






What is polymorphism in oop php?

502


What is zend studio for?

536


Which function would you use to format date information in php?

546


What is var_dump function in php?

528


Write the statements that are used to connect php with mysql

507


Explain difference between urlencode and urldecode?

552


What library is used for pdf in php?

517


How to take a substring from a given string in php?

514


How do I run php?

526


Tell me is it possible to submit a form with a dedicated button?

525