PHP Kafa hata bu neden çalışmıyor?

0 Cevap php
<?php
require 'header.php';
require 'connection.php';

mysql_query("DELETE FROM quotes WHERE ID = $_GET[id]") or die("didnt delete properly");
header('Location: index.php');
?>

When I run this it says: Warning: Cannot modify header information - headers already sent by (output started at xxxxx on line 6

Yanlış olan nedir?

0 Cevap