Maybe this question has been posted before but I can't find something similar. I want to make simple php site and don't know how to begin. I assume that there are better way than just pile up functions and code and later when I would want to change something it will be difficult. Is there some template (structure of website, best practices) which is good to start with, but it shouldn't be something difficult because website is really small for now. All I can find are frameworks that are too big?
here is a basic template that will help you make a basic site, the files that have ".inc.php" are files that go in
a include folder. basically you can add a lot of pages and just have to include the header, footer and sidebar. only the content of the page will be different.