jschaud wrote:Do you mean instead of just having one includes file I should have header.php, footer.php, and then just call each of them in the spot I want from index.php? If so, is this an effective manner for css's I'm sorry, I just started trying php out yesterday and havent made much progress as yet.
If you want the same content on the top AND bottom of each page, yes, you put that into the header.php and footer.php file and include them everywhere you need them. You typically call the header.php at the top of the page unless you have to start a session or write cookies, which have to be done first.
Then, you put your html code for the page.
At the bottom, yup, you put the footer. The header and footer must each have a file of their own so you can situate them appropriately on the page where you need them. It also makes it easier to maintain the web site, by using includes.
Yes, your css will work, too. And yes, as many includes as you want....
My advice is to just give it a try. Experiment a little, then if you have problems, post your code and there will be help here for you!
😃