best Way To Use Include() For Managing the Site's Layout
I am able to successfully develop the layout of my site on one page, using one html file and one css file. This particular page has a header, 3 columns (furthermost left is navigation, center is content, and far right is advertisement), and a footer.
My question to you all, what is the best way to use PHP's include function to help keep my layout consistent?
I was thinking I create my navigation bar, header, sidebar, content, and footer all in seperate .php files, and then simply include them on my index.php page. Is this the best way to do it? It this the way most people do it here?
Thanks for any input/advice on the subject matter.