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.
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
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 third "footer" file which includes anyt
3 matches
Mail list logo