I have a Folder name called Test2. Inside Test2 contains "universal.php" and "universal.css". Also inside Test2, is another folder called article. Inside article, contains a file called template.php. With template.php, I am trying to require_once universal.php. I am using this:
<?php
require_once "../universal.php";
?>
This is displaying the PHP, but not the CSS that goes with the file. universal.php is linked to universal.css. Whenever, I make a new file inside of test2, and require_once using just this:
<?php
require_once "universal.php";
?>
it works. universal.php is displayed with the css properties of universal.css. How do I make it so that template.php gets the css properties of universal.css?
universal.php, set the path for css as../universal.cssas you are going to access the file from the inner directory).