Call/execute another page in php
Hi i'm trying to call another php page without having one after the other.
I have these a and b pages.
a.php which contains:
<html a page tgas>
<?php echo "i'm a.php"; ?>
</html a page tgas>
and b.php which contains:
<html b page tags>
<?php
echo "i'm b.php";
include '../a.php';
?>
</html b tags>
When b.php is run it should display:
i'm b.php //you can see both html
i'm a.php //tags one after the other.
Instead When b.php is run it should display only within html a tags: i'm
a.php
No comments:
Post a Comment