Re: templating

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 3:37 AM -0700 6/23/06, Ryan A wrote:
>Hi Rich,
>Thanks for replying.
>
>
>> > He just needs maybe 5 template
>> > pages, same pages, different color.
>>
>> For something THIS simple, I truly believe you are
>> Better Off (tm)
>> with a simple head() and foot() function in a
>> globals.inc file:
>
>Sorry, dont know where my brain was that day, what I
>meant was he needs like 5 template pages, with 5
>"dynamic" spots on them (meaning that php will
>generate the content for these 5 spots and they are
>the parts that will be constantly changing depending
>on the page), and identical pages will be used to
>serve people with other languages except with a color
>difference (meaning different colored graphics, not
>just css)
>
>My fault for not explaining it better, sorry.
>
>Thanks,
>Ryan

Then within each of the "dynamic" spots run your php.

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

tedd
-- 
------------------------------------------------------------------------------------
http://sperling.com  http://ancientstones.com  http://earthstones.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux