lets say i have two pages links.html & contents.php… first page contains only html code while the second page contains some HTML + PHP code….
now i ant to create a page index.php with two DIVs in which i want to show\load the above two pages…
<html>
<body>
<div id="links" class="myCustom1">
<!--here will be the links.html page-->
</div>
<div id="contents" class="myCustom2">
<!--here will be the contents.php page-->
</div>
</body>
<html>
HOW TO DO IT
you can use the include functions (require(), require_once() functions would work as well), like this:
(change links.html to links.php)
I set it to links.html which is your filename but if it’s in a subdirectory you need to specify it as well.
eg: