+ 1

Can we use require and include simultaneously???

9th Feb 2017, 11:07 AM
shailesh
shailesh - avatar
2 Respuestas
+ 5
in the same script yes, but not to include the same file. you can use <?php require("file.php"); include("other_file.php"); ?>
9th Feb 2017, 11:13 AM
Mario L.
Mario L. - avatar
- 1
Yes you can, but not the same file.
12th Apr 2017, 2:30 PM
Adekunle Henry
Adekunle Henry - avatar