Possible Duplicate:
Headers already sent by PHP
These are the errors:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers
already sent by (output started at
C:\xampp\xampp\htdocs\ProjSecond\includes\overall\Oheader.php:3) in +
C:\xampp\xampp\htdocs\ProjSecond\core\init.php on line 2
Warning: session_start() [function.session-start]: Cannot send session cache limiter -
headers already sent (output started at
C:\xampp\xampp\htdocs\ProjSecond\includes\overall\Oheader.php:3) in
C:\xampp\xampp\htdocs\ProjSecond\core\init.php on line 2
I am structuring my project in different directories, heres the code of the relevant files:
FILE: init:
<?php
session_start();
require 'database/connect.php';
?>
FILE: Oheader:
<body>
<?php include 'includes/header.php';?>
FILE: Head:
<head>
<title>Project47</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="css/pjcss.css">
</head>
Does anyone have any idea of why this is happening... the codes showed above are the entirety of each file