Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 1
Can we use require and include simultaneously???
2 Answers
+ 5
in the same script yes, but not to include the same file.
you can use
<?php
require("file.php");
include("other_file.php");
?>
- 1
Yes you can, but not the same file.