I'm not certain that this is what you want but... to get out your array of info try the following.
Make a file placing each member of the array on a new line with a line break.
E.g.
apples
oranges
pears
Then read the file as below.
<?php
echo "<table border='2'>"; //borders on to see the table build
//put in path to file
$myarray=file("fruit.txt");
foreach ($myarray as $value) {
echo "<tr><td>";
echo "Fruit: $value";
echo "</td></tr>";
}
echo "</table>";
?>
the foreach function only works in php4.
You can set up the differnet parts of your pages and grab on a variable using include().
include ($section_header.php);
include ($section_body.php);
include ($section_footer.php);
etc.
Hope this is the right idea for you
Jon Bertsch