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

Answer Posted / nikunj

when page is executed then include() func. include file
every times and include_once() func. include file only once
when page is execute

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is echo a function in php?

519


What is full form of PHP?

613


How to upload file in php?

545


Who is the father of php and what is the current version of php and mysql?

690


How to remove the new line character from the end of a text line in php?

530






What is pdo in php why use?

501


How to strip whitespace (or other characters) from the beginning and end of a string?

471


How do I get csrf token?

559


Is php 7.0 stable?

513


Write logic to print Floyd's triangle in PHP?

546


What are the functions of string?

528


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

578


What is $this in php?

537


What are the difference between abstract class and interface in oops?

515


What is exception handling in php?

1079