ok i keep getting this error
here are my source code'sQuote:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/consolec/public_html/test/index.php:2) in /home/consolec/public_html/test/stat.php on line 2
index.php
stat.phpCode:<?php
// Used For The Session
// Try Using a cookie instead of session
include("stat.php");
?>
<table border="2">
<tr>
<th>Admin Only </th>
</tr>
<tr>
<td><a href="./reset.php">Reset </a></td>
</tr>
</table>
</html>
Reset.phpCode:<?php
session_start();
if(isset($_SESSION['views']))
$_SESSION['views']=$_SESSION['views']+1;
else
$_SESSION['views']=1;
echo "Number of visitors: ". $_SESSION['views'];
?>
What i'm i doing wrong and how can i fix it.Code:<?php
include ("./index.php");
session_destroy();
?>
<html>
<head>
<meta http-equiv="Refresh" content="10; url=./index.php">
</head>
</html>

