I have a strange problem on my site. When I want to access images in folders, they are not displayed. I tried everything, but I do not understand.
My CSS also does not work, because my text does not change. It only works when you go to the main page.
I have 2 pages, for example, / contact / and / about /. They do not work.
Here is the complete list of my folder.
/ui/images/logo.jpg (etc...) /ui/css/site.css /javas/site.js /index.php
here is my script (I removed some useless things)
<?php $page = $_GET['page']; $conn = mysql_connect("localhost", "user", "password"); mysql_select_db("page"); $sql = "SELECT * FROM page WHERE page = '".$page."'"; $result = mysql_query($sql); $row = mysql_fetch_assoc($result); mysql_free_result($result); ?> <html> <body> <script type="text/javascript" src="javas/site.js"></script> <link rel="stylesheet" type="text/css" href="ui/css/site.css"> <?php echo $row['page']; ?> </body> </body>
What can I do to fix this?
Adam
source share