Warning: include(localhost/mywebsite/styles/mainstyles.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\mywebsite\index.php on line 8
Warning: include(): Failed opening 'localhost/mywebsite/styles/mainstyles.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\mywebsite\index.php on line 8
Can anyone tell me what I'm doing wrong? I'm just trying to include a stylesheet.
My website code is simply:
- Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
</head>
<body>
<?php include "localhost/mywebsite/styles/mainstyles.php"; ?>
</body>
</html>