Hello Guys!
I get this error when I try to run one of my php page but I do not get this error in other page which are basically same.
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\go\birthday.php:1) in C:\xampp\htdocs\go\auth.php on line 2
I have tried like more then 20 hours but to no avail. So I hope you guys will shed some light in the problem.
I have trimmed down the code to make it easy to read.
With loads of Hope and Regards.
6pandn21
<?php
include("connect.php");
include("auth.php");
<div class=\"entry\">";
function CalculateAge($BirthDate)
{}
$a= session username;
$f= mysql_query("SELECT query");
$id= mysql_fetch_array($f);
$b= $id['id'];
$result = mysql_query("SELECT query");
while($uid = Fetch array from result)
{
$BirthDate= $uid['birthday'];
echo div class=\"entry\">$uid[name]<br /></div>" .CalculateAge($BirthDate);
}
echo"</div>";
echo"<div style=\"clear: both;\"> </div></div>";
?>