$id = $_POST['s_id']; $s_content = $_POST['s_content']; $s_butler1 = $_POST['s_butler1']; $s_butler2 = $_POST['s_butler2']; $s_nogle = $_POST['s_nogle']; $s_grad = $_POST['s_grad']; $s_aktiv = $_POST['s_aktiv']; $s_ansvar = $_POST['s_ansvar']; $sql = "UPDATE Services SET s_content = '$s_content',s_butler1 = '$s_butler1',s_butler2 = '$s_butler2's_nogle = '$s_nogle',s_grad = '$s_grad',s_aktiv = '$s_aktiv',s_ansvar = '$s_ansvar' WHERE s_id = $id"; $result = mysql_query($query); header('location:admin.php');