Probably a very basic question… if your using the same php coding alot in a website is it better to just make its own php page and require it as and when you need it then copy and pasting the php onto each page - also with this method is it better security doing this? Any major advantages / disadvantages to this method?
I’ve just started doing it to make pages look a bit neater.