Can someone be good enough to point out why I am getting the following error.
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/R2D2/public_html/Digi.php:7) in /home/data8251/public_html/Digi.php on line 7
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/R2D2/public_html/Digi.php:7) in /home/data8251/public_html/Digi.php on line 7
The page code is:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"
<?php session_start(); // This connects to the existing session
session_register ("DB6"); // Create a session variable called name
$HTTP_SESSION_VARS ["DB6"] = $name; // Set name = form variable $name
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>
<html xmlns=" xml:lang="en" lang="en">
<title>Submission Form</title>
</head>
<body>
<table class="Fatscope" width="84%" border="1">
<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4"><b>
<font face="Arial" size="5" color="#0000FF">Fuji D321 Digital Betacam</font></b></td>
</tr>
<tr>
<td class="DescriptorCell" width="34%" bgcolor="#E7EFF7"><b>
<font face="Arial" size="4">Product</font></b></td>
<td class="DescriptorCell" bgcolor="#E7EFF7" width="25%"><b>
<font face="Arial" size="4">Duration</font></b></td>
<td class="ContentCell" width="5%" bgcolor="#E7EFF7" align="center">
<b><font face="Arial" size="4">Qty</font></b></td>
<td class="ContentCell" width="32%" bgcolor="#E7EFF7">
</td>
</tr>
<tr>
<td class="DescriptorCell" width="34%" bgcolor="#FFFFFF" height="26">
<font face="Arial"><b>DBC-6</b></font></td>
<td class="DescriptorCell" bgcolor="#FFFFFF" height="26" width="25%">
<font face="Arial"><b>6mins</b></font></td>
<td class="ContentCell" width="5%" bgcolor="#FFFFFF" height="26">
<p align="center"><font size="3">
<input name="DB6" size="5" tabindex="1" style="background-color: #FFFF00"></font>
<td class="ContentCell" width="32%" bgcolor="#FFFFFF" rowspan="3" align="center">
</td>
</tr>
<tr>
<td class="DescriptorCell" width="34%" bgcolor="#FFFFFF">
</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="25%">
</td>
<td class="ContentCell" width="5%" bgcolor="#FFFFFF">
<p align="center">
</td>
</tr>
<tr>
<td class="DescriptorCell" width="34%" bgcolor="#FFFFFF">
</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="25%">
</td>
<td class="ContentCell" width="5%" bgcolor="#FFFFFF">
<p align="center">
</td>
</tr>
</table>
</body>
</html>
If I can follow the structure of this then I will use it for all the other pages I am now trying to hold tegether with php. Many thanks
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/R2D2/public_html/Digi.php:7) in /home/data8251/public_html/Digi.php on line 7
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/R2D2/public_html/Digi.php:7) in /home/data8251/public_html/Digi.php on line 7
The page code is:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"
<?php session_start(); // This connects to the existing session
session_register ("DB6"); // Create a session variable called name
$HTTP_SESSION_VARS ["DB6"] = $name; // Set name = form variable $name
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>
<html xmlns=" xml:lang="en" lang="en">
<title>Submission Form</title>
</head>
<body>
<table class="Fatscope" width="84%" border="1">
<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4"><b>
<font face="Arial" size="5" color="#0000FF">Fuji D321 Digital Betacam</font></b></td>
</tr>
<tr>
<td class="DescriptorCell" width="34%" bgcolor="#E7EFF7"><b>
<font face="Arial" size="4">Product</font></b></td>
<td class="DescriptorCell" bgcolor="#E7EFF7" width="25%"><b>
<font face="Arial" size="4">Duration</font></b></td>
<td class="ContentCell" width="5%" bgcolor="#E7EFF7" align="center">
<b><font face="Arial" size="4">Qty</font></b></td>
<td class="ContentCell" width="32%" bgcolor="#E7EFF7">
</td>
</tr>
<tr>
<td class="DescriptorCell" width="34%" bgcolor="#FFFFFF" height="26">
<font face="Arial"><b>DBC-6</b></font></td>
<td class="DescriptorCell" bgcolor="#FFFFFF" height="26" width="25%">
<font face="Arial"><b>6mins</b></font></td>
<td class="ContentCell" width="5%" bgcolor="#FFFFFF" height="26">
<p align="center"><font size="3">
<input name="DB6" size="5" tabindex="1" style="background-color: #FFFF00"></font>
<td class="ContentCell" width="32%" bgcolor="#FFFFFF" rowspan="3" align="center">
</td>
</tr>
<tr>
<td class="DescriptorCell" width="34%" bgcolor="#FFFFFF">
</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="25%">
</td>
<td class="ContentCell" width="5%" bgcolor="#FFFFFF">
<p align="center">
</td>
</tr>
<tr>
<td class="DescriptorCell" width="34%" bgcolor="#FFFFFF">
</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="25%">
</td>
<td class="ContentCell" width="5%" bgcolor="#FFFFFF">
<p align="center">
</td>
</tr>
</table>
</body>
</html>
If I can follow the structure of this then I will use it for all the other pages I am now trying to hold tegether with php. Many thanks