30.12.2012, 01:34
Basically guys, I need help.
I want to use .php so I removed this code from my index.php:
and paste it another file and save it to "inc/incfiles/header.inc.php"
I then add at the top to the index.php:
<? include("inc/incfiles/header.inc.php") ?>
And all CSS is removed..
Help?!
I want to use .php so I removed this code from my index.php:
PHP код:
<html>
<head>
<link href="css/main.css" rel="stylesheet" type="text/css">
<title>Name</title>
</head>
<body>
<div class="headerMenu">
<div id="wrapper">
<div class="logo">
<img src="img/test.png">
</div>
<div class="search_box">
<form method="GET" action="search.php" id="search">
<input name="q" type="text" size="60" placeholder="Search ..." />
</form>
</div>
<div id="menu">
<a href="#">Home</a>
<a href="#">About</a>
<a href="#">Sign Up</a>
<a href="#">Login</a>
</div>
</div>
</div>
<br />
<br />
<br />
<br />
I then add at the top to the index.php:
<? include("inc/incfiles/header.inc.php") ?>
And all CSS is removed..
Help?!