difference betwen include and indlude once 1

difference betwen include and indlude once

"There is only one difference between include() and include_once(). 
If the code from a file has been already included then it will not be included
again if we use include_once().
Means include_once() include the file only onceat a time."

include('filename');
include_once('filename');

Here is what the above code is Doing:
1. It’s including the file ‘filename’
2. It’s including the file ‘filename’ only once

Similar Posts