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?
This rather depends on what you're hoping to achieve by using PHP; first define what you're hoping to achieve, you'll have a better chance of getting a meaningful response from the community...
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.
Bookmarks