What I find easy to do,

Is have the top, left in a file, say we call it header.php
And have the bottom html in a page called footer.php

Both pages mainly contain html exept if php is required.

Many sites / database the top, left is html code and never changes, 
There is no need to place this inside php, there is no need to slow down the
engine

Advantages of this is that it is kind of like a template, where you could
change the header, and it take effect site wide, as well as been able to
change the view by having multiple headers for people to choose their own.

Hope that made sense

--
Chris Kay (CK)
Eleet Internet Services
M: 0415 451 372
P: 02 4620 5076
F: 02 4620 7008
E: [EMAIL PROTECTED] 

-----Original Message-----
From: Ryan A [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 22 October 2003 1:28 PM
To: Chris Shiflett
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Whats more efficient? (Conclusion)

Hey,
thanks for replying.

/*
...but you can still overcome this with some good server-side
caching (for example, is it necessary to dynamically generate a response for
every request if the data isn't very volatile?).
*/

My main pages are basically querying the databases for hosting plans
depending on what the client chooses....
what do you suggest? and any urls for reading up on caching?

Thanks,
-Ryan

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

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

Reply via email to