Save! I have a template system that I put up in PHP represented by the following structure:
require("header.php");
require("content.php"); //carregado dinamicamente via GET
require("footer");
Everything works fine, but I have to manage the CSS and JS of each content . Since CSS is inserted in header.php and JS in footer.php, what would be the best way to insert the specific files of each content ? The intent would be to load the scripts for the specific content , but I have problems mostly with JS when I try to insert them directly into content . Thanks in advance for the force!