What are the differences between include() and include_once
() functions?

Answer Posted / jitender kumar

include()-many time refresh

include_once-only one time refresh

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is $_ request?

730


How do I find environment variables?

689


What is the difference between Split and Explode in PHP?

783


What is csrf token and how it works?

719


Is php object oriented?

683


What is csrf mvc?

716


How do I stop php artisan serve in windows?

692


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

654


What is the difference between require_once and require in php?

771


What is the basic function to search files for lines (or other units of text) that contain a pattern.

773


how to detect a mobile device using php

778


How does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?

696


Why use php artisan serve?

681


Tell me what is the definition of a session?

716


What is default session time in php?

708