Re: [PHP] Templates/Graphics/Text

2001-05-02 Thread Philip Olson
sounds like you're wanting to do this : // get mode from url or preferences or somewhere $mode = strtolower($HTTP_GET_VARS['mode']); if ($mode == 'text') { include 'txt_template.php'; } else { include 'img_template.php'; } include 'content_page.html'; now : index.

Re: [PHP] Templates/Graphics/Text

2001-05-02 Thread Ashley M. Kirchner
Chris Anderson wrote: > Personally I prefer to do the following: > -Include things like navigation, banners, etc in a nav.inc file. Since > this is loaded first > I include meta tags for search engines in here > -My content goes in individual files, that can be dynamically loaded > -I have a thir

Re: [PHP] Templates/Graphics/Text

2001-05-02 Thread Chris Anderson
tion Programmer / www.Volition-net.com - Original Message - From: "Ashley M. Kirchner" <[EMAIL PROTECTED]> To: "PHP-General List" <[EMAIL PROTECTED]> Sent: Wednesday, May 02, 2001 5:27 PM Subject: [PHP] Templates/Graphics/Text | | I'm trying to

[PHP] Templates/Graphics/Text

2001-05-02 Thread Ashley M. Kirchner
I'm trying to figure out what's the best way to do something that may be simple, however I can't for the life of me envision it. I want to have three files as follows: [ NOTE: I may be thinking of this the wrong way (by thinking up three files.) If someone has a better sugges