Let's pretend you have 10
This tutorial will teach you
This tutorial explains how to
BM's DeveloperWorks website
pages in your site with the
have to make your site have
identify IE4+ or NS4+ on a
has a nice tutorial on
same design and you want to
the option to allow the
windows 32 bit platform (all
Midgard. Written by David
change a link in your menu.
users to choose the look and
else is
Seager, a software engineer
You would have to edit all
feel of the site using PHP,
"OtherBrowser")
at IBM, the article
10 pages, right? Nope,
and MySQL wrapped around a
and include different html
describes setting up a basic
there's a much quicker way
HTML template. Doing this
Web pages for different
Midgard site. The article
allowing you to edit just
gives you more control of
browser types using PHP.
also does a good job of
one file and it's not as
your site without having to
setting up a general context
hard as it sounds. What we
recode all yout HTML inside
for what Midgard is and how
have to do is create a
your PHP scripts.
it works.
header file and a footer
file. The header file
contains all the HTML code
for the top portion of your
site. The footer contains
the HTML for the bottom.
Content goes between the
header and footer. Let's get
started...
Date: Aug, 27 2003 Date: Aug, 18 2003 Date: Jun, 29 2003 Date: Dec, 28 2002 |
There are many different ways
This article/column describes
The author writes
Throughout two separate parts
to create a template system
how to create a simple
"PHPLIB templates can
in this series, the author
in PHP. This tutorial will
single table, single
grant you an amazing ability
demonstrates step by step
hopefully show you the basic
template content management
to abstract the manipulation
the fundamental principles
understanding of this type
system. It shows you how to
of data (in the database as
of PHP in an original
of method.
make a powerful yet simple
well as in PHP) from its
real-world Web site example.
data driven website using
final format, whether that
The Part 1 offers the basics
<a
format is HTML, XML, WML, or
of PHP and features a
a formatted e-mail, and some
Webzine that includes an
of these ways will be
author's page where content
explored here."
providers can enter the text
of articles, as well as a
front end for presenting
this content to the world.
In Part 2 of this series,
you'll be shown the delivery
module presents a menu of
stories to the reader, and
how the authoring module
permits authors to submit
stories to a Webzine.
Date: Aug, 05 2002 Date: Jun, 19 2001 Date: Mar, 12 2001 Date: Feb, 02 2001 |