i have a dynamic php web page
localhost/ctd/index.php
All working good except if i add a forward slash to it like below:
localhost/ctd/index.php/
the css doesnt load..
is this a css bug or PHP?
The full code of index.php
<?php
define('pageaccess', TRUE);
$action = $_GET['p'];
include "views/header.php";
if($action=='student')
{
include "views/student.php";
}else if($action=='college'){
include "views/college.php";
}else if($action==''){
include "views/home.php";
}else{
include "views/404.php";
}
include "views/footer.php";
?>
CSS link
<link rel="stylesheet" type="text/css" href="css/ctdu_style.css" />
Point me to the right direction.
Thanks
<link>tag that loads the css, and check your server's access/error logs to see if the css file is being requested at all, and what the requested url is if it is.