amigos me sale ese error y no se a que se debe
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\HotelGolf\ProcesosPHP\Mantenimient oArea.php:7) in C:\xampp\htdocs\HotelGolf\ProcesosPHP\Mantenimient oArea.php on line 17
Código PHP:
$Insertar=@mysql_query("INSERT INTO area (`AREA_NOMB`)
VALUES ('$AREA_NOMB')");
if(!$Insertar)
{header("Location: ../NMArea.php?errorIngresoArea=si");}
else
{header("Location: ../GestorAreas.php?errorIngresoArea=no");} //--> linea 17
la linea afectada es la 14
como puedo solucionarlo ?
gracias