Hi Every Body I have been working on a project Where user has to login and edit contents of his web
The thing happening is every page is working fine and there is no error except only in one page & which is freaking me out.....when i hit submit button following error displays....
**Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/iconspor/public_html/webadmin/submit_edit_scat.php:1) in /home/iconspor/public_html/webadmin/session.php on line 2
**Warning: Cannot modify header information - headers already sent by (output started at /home/iconspor/public_html/webadmin/submit_edit_scat.php:1) in /home/iconspor/public_html/webadmin/submit_edit_scat.php on line 6
****
Here is the session.php
<?php
session_start();
session_cache_limiter('none');
if
($_SESSION[ "myusername" ] == "" ){
header("location:index.php");
}
?>
AND
The submit_edit_scat.php file here...
<?php
include "connection.php";
include "session.php";
$fid=$_REQUEST["fid"];
$sql=mysql_query("UPDATE scat set scat='".$_REQUEST["scat"]."' WHERE sid=".$_REQUEST["sid"]." and fid=".$_REQUEST["fid"]."");
header("location:add_second_cat.php?fid=".$fid."");
?>