> include("include.php"); //This contains the database connection
> and whatever other global code, as well as the layout functions.
> doheader(); //This function contains the top of the layout.
> //Do whatever the page does
> dofooter(); //This function contains the bottom of the layout
> There are still problems with this, though. No way to use global code
> at the bottom of the page, for one thing. I've also considered
> something like:
What do you mean you can't "use global code at the bottom of the page"??
Maybe output buffering could solve your problem.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php