> Warning: Cannot modify header information - headers already sent by > (output started at E:\PHPMySql scripts\bugtrack\connection.php:3) > in E:\PHPMySql scripts\bugtrack\index.php on line 117 > > the connection file I have included in every page. > why this error is occuring?
You are getting this error because you have header output starting at line 3 in file connection.php. The warning is stating that the function, 'header("location: home.php");' cannot fire because you have started outputing header information. Your header() call is on line 117 of index.php. Header() can only be used if there has been no header information sent to the page. You will need to see what is on line 3 and probably line 2 of connection.php. alex hogan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php