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

Home Forums Back End PHP includes… Re: PHP includes…


By the way, although includes are great and there are few downsides to them I would suggest using require() because then if the content isn’t available the rest of the site won’t load. This is good if you don’t want your navigation replaced with a load of text generated as an error message.

Otherwise includes are great!