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

Why do we use php?

708


What is scope of variable in php?

778


When is a conditional statement ended with endif?

702


How to execute an sql query? How to fetch its result?

808


What does csrf token mean?

667


How to open a file in php?

796


What does php mean?

705


Is php better than python?

711


What is the functionality of the functions strstr() and stristr()?

715


How do you parse and process html/xml in php?

740


How to get ip address of clients machine?

708


What is the use of $_request variable?

770


What is the output of the following php code?

650


How to pad an array with the same value multiple times?

654


What are traits?

949