|
|
 |
Re: FN-FORUM: Includes PHP question
date posted 28th January 2008 10:07
> I am trying to expand my knowledge of web technologies, getting the hang of
> css and a couple of other things
>
CSS is the only way to influence the layout and look of a site. It is
the one true way.
> Anyhoo - the question is 'includes PHP' which I was reading up on, so rather
> than having a menu on each page that needs to be edited, you can simply have
> one menu.php page and use the PHP includes command to include it In a
Again this is the best way of doing it. Initially the PHP that you include could simply be the HTML for your menu, however you will be able to easily modify the menu in the future by changing one file, rather than having to change each page.
My biggest complaint about some of the websites that I end up working with is the lack of a design and implementations that completely lack any software architecture.
Google doesn't see the structure of your PHP files, only what it
produces. If anything using CSS and lists for menus makes things easier
for google to understand, and intrinsically more SEO.
--
--Richard
http://www.zaretto.com
|
 |
|