Re: PHP and HTML Conventions

From: Date: Tue, 13 Jul 2004 09:04:21 +0000
Subject: Re: PHP and HTML Conventions
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-190325@lists.php.net to get a copy of this message
There is no need to use PHP to include HTML in HTML. You could also use the HTML server-side #include-command. Greetz, Arnout "Torsten Roehr" <roehr@zilleon.com> schreef in bericht news:20040713081954.63036.qmail@pb1.pair.com... > "Harlequin" <michael.mason@arraspeople.co.uk> wrote in message > news:20040713075518.91782.qmail@pb1.pair.com... > > is there a HTML equivalent of the PHP include statement then...? > > No, but you can include pure HTML with include()/include_once(). Just give > the file a php extension: > > include_once 'pureHTML.php'; > > Maybe it works with any extension, haven't tested it. > > Regards, Torsten Roehr

« previous php.general (#190325) next »