Is there a way in PHP to include or execute code from a separate file?
For example, if we have 2 files:
a.php which contains:
<?php echo "i'm a.php"; ?>
and b.php which contains:
<?php
echo "i'm b.php";
// some code here to "execute" a.php so that it prints i'm a.php as the output.
?>
When b.php is run it should display:
i'm b.php
i'm a.php
C.