[Techtalk] Web site setup

Teri Solow tsolow at terisolow.com
Wed Apr 20 22:32:32 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yaroslav Fedevych imparted (2005-04-20 @ 12:30:35 +0300):
> W-w-w-what?? 
> 
> <?php 
> $title='Foo';
> ...?>
> <p>The main content of the page goes here.</p>
> 
> And that's all of it. Remember that PHP was made to be embedded into
> HTML...

What I've personally found to be very flexible is:
	
	<?php
	$title='Foo';
	include('header.php');
	?>

	<p>The main content of the page goes here, with optional <?php print
	"magic"; ?>.</p>

	<?php include('header.php'); ?>

Where the header and footer  contain /all/ necessary layout (including
starting and closing formatting table / table cells ).

- -- 
(n_ 	Teri Solow <tsolow at terisolow.com>
//\ 	http://terisolow.com
V_/_ 	
You are false data.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCZkvgCRjPPiFbVe8RApQGAJwOrM6kVH1v6aWq82/7SB8WJy0sRwCeLAeg
UffT5y46M3J1q8zxMF+jkUc=
=wOVM
-----END PGP SIGNATURE-----


More information about the Techtalk mailing list