Example File 1 (file1.php) -- some programming script (actually more complicate than this, it is used to retrieve XML codes and displaying them)
Code: Select all
<?
echo "This is a test!";
?>Code: Select all
<?
$getinclude = get_include_contents('file1.php');
$body = "<tr><td>".$getinclude."</td></tr>"
include('file3.php');
?>Code: Select all
<html>
......
The normal HTML opening tags
......
<?php
print $body;
?>
......
The normal HTML closing tags
......
</html>Can some1 help me?