|
| Total Answers and Comments: 6 |
Last Update: July 17, 2009 Asked by: mrbaliram |
|
| | |
|
Submitted by: veena Unlike include(), require() will always read in the target file, even if the line it's on never executes. If you want to conditionally include a file, use include(). The conditional statement won't affect the require(). However, if the line on which the require() occurs is not executed, neither will any of the code in the target file be executed.
Above answer was rated as good by the following members: sangeethasai, jachmullan, prasad_konnur, dineshmatolia, lambedanish313, Harindersingh1985 | Go To Top
|