this means that u r tryin to send http headers after you have already send some html o/p.
some functions like setcookie, some session functions need to be called before any browser is sent to user.
you are not confirming to that, so u r gettin this error.