Basically i want to be able to send a number to mysql database once and only once. When i open detail.php in a web browser it works and will only create one number once only. In the detail.php i am using session start.
When i try and add detail.php to index.php i get the following error.
I get the following errors:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at E:\WEBSITES\photoorder\index.php:9) in E:\WEBSITES\photoorder\detail.php on line 4
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at E:\WEBSITES\photoorder\index.php:9) in E:\WEBSITES\photoorder\detail.php on line 4
Below is the header for index.php
<!--BEGIN-->
<!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>
<title>Aurigma Image Uploader</title>
<meta http-equiv="MSThemeCompatible" content="yes" />
<link href="style.css" type="text/css" rel="stylesheet" />
<script src="../iuembed.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
//Separator for ordered formats in description field of an item.
var separator = "...\n\r";
var maxFormatCount = 3;
var imageUploader1 = null;
function fullPageLoad(){
imageUploader1=getImageUploader("ImageUploader1");
}
//]]>
</script>
</head>
<body>
include ("detail.php");
</body
Many Thanks