What's the diff. between include() and Include_once().

Answer Posted / jamseer_syed

include_once() will useful for include the files many times
in the same program.
but the include() is useful for include the file only once
in the program otherwise if we use more then once it shows
error...

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to assigning a new character in a string using php?

544


Does php support function overloading?

570


What are the differences between require and include?

572


Is uploaded file php?

541


Explain what does the unlink() function means?

550






Can I use node js with php?

531


Is wordpress a php framework?

523


What are the features of object-oriented programming in php?

505


What are the popular frameworks in php?

530


How to read the entire file into a single string?

574


How is session id stored in browser?

557


Explain me soundex() and metaphone()?

550


What is encapsulation in php?

563


How to connect to mysql from a php script?

561


What is the difference between php4 and php5?

570