php code-
$q = "Update tblarticle set art_title='$title', art_cat='$cat', art_des='$txtart' where art_id='".$_GET['art_id']."'";
$result = $mysqli->query($q) or die(mysqli_error($mysqli));
if($result)
{
//saved succesfullt
$error =0;
header("location:mngArt.php");
exit;
}
else $error =1;
}
?>
....Some HTML........
database is getting updated but Cannot modify header information
error msg is popping up.