I have been told that if you are writting a php page, you shoudl do it like this
echo "<html>";
echo "<head>";
echo "<title>Foo.php</title>";
echo "</head>";
echo "<body>";
echo "everything else that needs to be on screen is outputted, such as table layouts, etc... (everything)";
echo "</body>";
echo "</html>";
This would make the server do all the work, if everything is being generated, then if you had more that a couple of people visitng the site, then it would slow down the server, and eat up all the memory.
i think it would be better to use a case/select statement maybe and then only include(); the file that you wanted to use?
so all the files wouldbe already made, all the tables layed out and everything else and then if that pages is needed, pass whatever you need into it and call it so it would include the data and everythnig else.
what does everyone else think??