Forums

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

Home Forums Back End Proper Way / Good practice in Coding php and html/css Re: Proper Way / Good practice in Coding php and html/css

#55786
apostrophe
Participant

Create your nav as normal html

Code:

and save it as nav.php.inc

Then in your html page, where ever you want it to appear

Code:

EDIT:
Obviously you would save your html page with the .php extension. eg. index.php