RE: [PHP] Include/require and the HTML Code

From: Date: Thu, 15 Aug 2002 00:59:01 +0000
Subject: RE: [PHP] Include/require and the HTML Code
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-112639@lists.php.net to get a copy of this message
Mike, i had no problems with this.. <!-- index.php --> <? include('Functions.inc'); HtmlHeader(); ?> # Do things <? HtmlFooter(); ?> <!-- Functions.inc--> <? function HtmlHeader() { ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> <html><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>LogBook</title> </head> <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#000080" alink="#FF0000"> <? return; } ?> <? function HtmlFooter() { ?> </body> </html> <? return; } cheers Peter

« previous php.general (#112639) next »