Re: [NF] Web sites

Author: Kevin Cully

Posted: 2006-10-23 at 19:23:55

What I think you want is INCLUDE. The syntax is slightly different from

ASP to PHP. I believe that INCLUDEs even work in plain HTM files but I

haven't had time to try it.

For my PHP sites, I'll create a page that works something like this:

<HTML>

<HEAD>

<TITLE>Each page should have a unique title to help the search

engines differentiate each page.</TITLE>

<META NAME="Description" CONTENT="The descriptions should be unique

as well">

<? INCLUDE("standardmetastuff.htm")

</HEAD>

<BODY>

<? INCLUDE("top_header.htm")

<? INCLUDE("left_menu.htm")

<!--- Body of the text for this page -->

<? INCLUDE("bottom_menu.htm")

</BODY>

</HTML>

HTH!

Kevin Cully

CULLY Technologies, LLC

Sponsor of Fox Forward 2006!

http://foxforward.net

Virgil Bierschwale wrote:

> I just spent all day putting together my site at

> http://www.bierschwalesolutions.com

>

> Having gone back and verified that each link was working on each page, I

> realized there has to be a better way as that was a pain in the ???

>

> How can I develop a static site where the links work on every page

> without me having to recreate it everytime I add a new page.

> Is this something I need to do in a style sheet ?

>

> Something like a fox program where you say:

> do header

> do links

> text here now

>

> Thanks,

>

> Virgil Bierschwale

> Armstrong and Skipper Real Estate

> (830) 329-6774 Cell

> (830) 864-4726 Home

> (830) 864-4799 Fax

> http://www.bierschwalesolutions.com

> http://www.bierschwale.com

> http://www.virgilslist.com

>

>

[excessive quoting removed by server]

©2006 Kevin Cully