I created a new website for my school, which compasses of a fortnight to see a little more of the page.
Its structure is currently only in xhtml / css with a little flash and js sometimes, but not PHP(although some pages contain forms so there will be some PHP).
To grossly describe the appearance of my site, all pages are created on the same basis, ie:
-invariant elements of (the top banner, left menu, below the SIDS page
then right-menu, which depend on the content of the page.
This is quite simple and feasible in HTML alone, but I told myself, as only the "center of my page will change, why not do all the rest in PHP?
My goal: if I make changes to my menu or my banner, it will save me having to edit each of my pages. By not changing my php, hop, that change the samething on 15 other pages.
Do you think this is wise? If yes, how is that possible knowing that my site is in the form of a table and therefore only one cell in this table is the part that will vary, and all the rest will not change? In addition, the first page being already made, with all the css formatting is consistent so that I transform into php?
I wonder if it is not easy to make my body page (the invariable on all content pages menu and banners) in HTML, php and use of only my core for the page (part variable) using <? php include ( 'mypage.html');?>??
Bookmarks