$v) { $$k = htmlspecialchars(stripslashes(trim($v))); } $account=$_POST['account']; $Contentdescription=$_POST['Contentdescription']; $updatee_at=date('Y/m/d H:i:s'); $id= $_POST['id']; $db_query = "update fault_notification_job_handling set "; $db_query .= "supervisor = '$account',"; $db_query .= "contentdescription = '$Contentdescription',"; $db_query .= "updatee_at ='$updatee_at'"; $db_query .= "where id = '$id'"; if ($rs = mysqli_query($link, $db_query)) { $account=$_POST['account']; header("Location: faultreview-index.php?account=".$account); if (mysqli_affected_rows($link) > 0) { echo ""; //header("Location: pricereview-index.php"); } else { echo ""; } } mysqli_close($link); } ?>