New course! Every coder should learn Generative AI!
Try a free lesson+ 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.