$update= "UPDATE Ventas SET Pago_Inicial= '".$_POST['pagoinicial']."'WHERE Id='".$_POST['Id']."'" ; $mod=mysql_query($update,$link);