Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End PHP for Navigation?… Re: PHP for Navigation?…

#68448
TheDoc
Member

Certainly! I almost always use a PHP include for the header/nav on static sites. It could be something as simple as:

The PHP: (I always keep all of my includes in a folder called "includes", but that’s a personal preference)

Code:

and then in the nav.html file: