PHP Header Already Sent Problem?

David

New member
I am having some problems with my php code here is what it says
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/******/public_html/*******/test.php:7) in /home/******/public_html/*******/test.php on line 7.

I dont understand why it is saying this but here is the my entire code of my webpage.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Login</title>
</head>
<? session_start();
include("log/database.php");
include("log/login.php");
?>
<body>
<? displayLogin(); ?>
</body>
</html>
 
Back
Top